Issue 71 in argparse: Feature Request: Ability to remove argument groups

2 views
Skip to first unread message

argp...@googlecode.com

unread,
Apr 7, 2010, 11:56:24 AM4/7/10
to argpar...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 71 by denver.coneybeare: Feature Request: Ability to remove
argument groups
http://code.google.com/p/argparse/issues/detail?id=71

There is a method ArgumentParser.add_argument_group() to create and add an
argument group to the parser. I would like the ability to remove an
argument group via a method like remove_argument_group(group).

The use case for me is I create an argument group and then conditionally
add a bunch of arguments to it. If zero arguments are added I would like
to then remove the group so that an empty group does not show up in the
help output.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

argp...@googlecode.com

unread,
Jul 23, 2010, 9:55:06 AM7/23/10
to argpar...@googlegroups.com
Updates:
Status: Duplicate

Comment #1 on issue 71 by steven.bethard: Feature Request: Ability to

Moved to http://bugs.python.org/issue9350

Reply all
Reply to author
Forward
0 new messages