[issue9253] argparse: optional subparsers

2015-03-12 Thread BJ Dierkes
Changes by BJ Dierkes : -- nosy: +derks ___ Python tracker <http://bugs.python.org/issue9253> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue23487] argparse: add_subparsers 'action' broken

2015-02-19 Thread BJ Dierkes
New submission from BJ Dierkes: Related: http://bugs.python.org/issue9253 I came across issue9253 in trying to implement a default action for a subparser namespace. In the absence of a 'default' option, I thought that it may be possible by adding an 'action' to '

[issue22848] Subparser help does not respect SUPPRESS argument

2015-02-19 Thread BJ Dierkes
BJ Dierkes added the comment: I would like to add to this regarding the following: [QUOTE] Why would a user want to use `help=argparse.SUPPRESS`, as opposed to simply omitting the `help` parameter? The effect would be the same as your patch. [/QUOTE] This actually isn't the case, i

[issue12686] argparse - add 'hide' feature

2011-08-03 Thread BJ Dierkes
New submission from BJ Dierkes : Having the ability to 'hide' positional/option arguments and subparsers in argparse would be useful. For example, I might want to add a subparser for 'somecommand-help' which would be a commands specifically for displaying help output of &