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

namespace help is not part of program help #16

Closed
neithere opened this issue Aug 20, 2013 · 1 comment
Closed

namespace help is not part of program help #16

neithere opened this issue Aug 20, 2013 · 1 comment

Comments

@neithere
Copy link
Owner

here, the help argument seem to work for program help debug, but not program help. the later prints debug in the first column, but nothing on the second - where docstring of regular subcommands appear.

parser.add_commands(
    [start, stop],
    namespace='debug', 
    help='internal commands')

Note: This issue has been automatically migrated from Bitbucket
Created by Anonymous on 2012-04-13 18:34:21+00:00, last updated: 2012-12-16 15:20:07+00:00

@neithere
Copy link
Owner Author

Argh simply passes these arguments down to argparse.

If you experiment with the arguments help, title and description for program help and program help debug, you will find out that the title argument hits the spot. :-)

I don't think the API is intuitive but I believe that the issue is beyond the scope of Argh.

Note: This comment has been automatically migrated from Bitbucket
Created by @neithere on 2012-12-16 15:19:28+00:00

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

No branches or pull requests

1 participant