cmdln
cmdln copied to clipboard
Ability to show global options in 'prog help subcmd' [moved]
This is Issue 27 moved from a Google Code project. Added by 2010-09-05T17:41:15.000Z by [email protected]. Please review that bug for more context and additional comments, but update this bug.
Original labels: Type-Enhancement, Priority-Medium
Original description
"svn help status" shows two sections: Valid options and Global options. The former shows options specific to the 'status' command, while the later shows global options for the 'svn' tool.
$ svn help status
[...]
Valid options:
-u [--show-updates] : display update information
-N [--non-recursive] : obsolete; try --depth=files or --
[...]
Global options:
--username ARG : specify a username ARG
--password ARG : specify a password ARG
[...]
Would be nice for cmdln to support this .... given that it cites 'svn' as an example in the documentation.
PyPM will benefit from this - by automatically showing -E/-g (virtualenv, global install) options when the user types "pypm help install".