Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Optional arg options disambiguation

#48

For example --optional [arg].


$ foo
options.optional # => nil

$ foo --optional
options.optional # => nil     

$ foo --optional arg
options.optional # => "arg"

revise Options#default

Reported by TJ Holowaychuk · May 6th, 2009 @ 03:15 AM

State: new
Milestone: 4.0
Assigned to: TJ Holowaychuk TJ Holowaychuk

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.