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.

Sub-command options inherit globals

#7

Perhaps sub-command options should inherit the globals, in cases such as --verbose this would prevent the need to do things like:


global_option('--verbose'){ $verbose = true }

and instead would


global_option('--verbose')
  ... 
 c.when_called |args, options|
  options.verbose # => true
 end

Reported by TJ Holowaychuk · March 24th, 2009 @ 10:52 PM

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

Activity

  1. TJ Holowaychuk
    TJ Holowaychuk
    • State changed from new to resolved

    March 26th, 2009 @ 04:53 PM

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.