Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Ability to show global options in 'prog help subcmd' [moved] #27

Open
trentm opened this issue Sep 28, 2012 · 0 comments
Open

Ability to show global options in 'prog help subcmd' [moved] #27

trentm opened this issue Sep 28, 2012 · 0 comments

Comments

@trentm
Copy link
Owner

trentm commented Sep 28, 2012

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".
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant