This would give users a view of standard/common options
when using
--help, providing a default smallish list of common
options. Then
less-common/advanced options would only be shown when
"--help-advanced" is specified. If any options were
added as
ADVANCED_HELP types, then the "--help-advanced" option
would show up
in the "--help" list.
Compare this "--help-advanced" option idea to Sun
java's "-X" option
(print help on non-standard options).
...
parser.add_option('--xxx', help='do xxx...', ...)
parser.add_option('--complex',
help='do something real tricky',
help_type=ADVANCED_HELP, ...)
$ foo --help
...
Options:
--help ...
--help-advanced show advanced options
--xxx do xxx
...
$ foo --help-hidden
...
Options:
--help ...
--help-advanced show advanced options
--xxx do xxx
--complex do something real tricky
...
Logged In: YES
user_id=14422
No. This is what option groups are for.