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

List registered commands in help text #73

Merged
merged 1 commit into from
Dec 11, 2014
Merged

Conversation

sigmavirus24
Copy link
Member

Fixes #34
Closes #54

I should probably come up with a way of testing this. For the record, this changes -h's output to:

~/sandbox/twine (bug/34) twine -h
usage: twine [-h] [--version] {upload}

positional arguments:
  {upload}

optional arguments:
  -h, --help  show this help message and exit
  --version   show program's version number and exit

Note the difference in that positional arguments will now be a list of possible commands

@sigmavirus24 sigmavirus24 added this to the 1.4 milestone Dec 11, 2014
dstufft added a commit that referenced this pull request Dec 11, 2014
List registered commands in help text
@dstufft dstufft merged commit 447d7b0 into pypa:master Dec 11, 2014
@sigmavirus24 sigmavirus24 deleted the bug/34 branch December 12, 2014 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No help
2 participants