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

Running help on subcommands doesn't show subcommand name #170

Open
wagenet opened this issue Sep 19, 2011 · 5 comments
Open

Running help on subcommands doesn't show subcommand name #170

wagenet opened this issue Sep 19, 2011 · 5 comments

Comments

@wagenet
Copy link

wagenet commented Sep 19, 2011

For example cli subcommand help shows

Tasks:
  cli command1
  cli command2

What I expect is:

Task:
  cli subcommand command1
  cli subcommand command2

This issue also applies to the error message when a subcommand's command is called incorrectly.

@brandonarbini
Copy link

+1. Just ran into this today. I may try and fix someday, but no time today. :)

@rberger
Copy link

rberger commented May 7, 2013

Isn't this the same as #128, #137, #147, #196, #306, #263, and probably a few others that are closed and open? I'm still seeing this problem in 0.18.1

@ddarbyson
Copy link

I have the same issue... however, specifying argument in my sub command seems to disable help.

desc "subcommand", "this is my example subcommand"
argument :name, :required => true
def subcommand(name)
...
end

The following $ mycli subcommand help command should produce detailed help information, however it just repeats the list of subcommand short forms

@jean-francois-labbe
Copy link

+1

1 similar comment
@albrechtsimon
Copy link

+1

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

No branches or pull requests

6 participants