Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omitting all desc's results in command options not being printed #48

Closed
davetron5000 opened this issue Jun 19, 2011 · 0 comments
Closed
Labels

Comments

@davetron5000
Copy link
Owner

Given this:

command :new do |c|

  c.flag :p
  c.switch :f

  c.action do |global_options,options,args|
  end
end

The help output is:

new [command options] 
nil

Adding a desc '' before the command call fixes it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant