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

Implement pip2 help command #71

Open
njwilson opened this issue May 18, 2012 · 1 comment
Open

Implement pip2 help command #71

njwilson opened this issue May 18, 2012 · 1 comment

Comments

@njwilson
Copy link
Member

Implement a 'help' command to display usage information for the other commands. It should be usable as, for example, pip2 help install and pip2 install --help

@ghost ghost assigned rlbaker May 18, 2012
@rlbaker
Copy link

rlbaker commented Jun 1, 2012

pip2 now displays help in the current situations:

  • pip2 (without args)
  • pip2 install --help (or any supported command)
  • pip2 --help

pip2 help install is not currently implemented due to argparse adding any custom commands to the usage list which would create duplicates in the usage list.
Example:

usage: pip2 [-h] {install,uninstall,freeze,search,help} ...

positional arguments:
  {install,uninstall,freeze,search,help}

optional arguments:
  -h, --help            show this help message and exit

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

2 participants