This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author balage
Recipients balage, paul.j3
Date 2015-12-17.11:46:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450352785.07.0.397592928495.issue25882@psf.upfronthosting.co.za>
In-reply-to
Content
Unfortunately the problem consists in case of normal sub-group too :(.

If you complete my previous example code with the next code, then the problem can be seen:

sub_group = global_group.add_argument_group()
sub_group.add_argument("--sub-arg1")
sub_group.add_argument("--sub-arg2")

Part of unexpected output:

optional arguments:
  -h, --help            show this help message and exit
  --sub-arg1 SUB_ARG1
  --sub-arg2 SUB_ARG2
  --child-arg1 CHILD_ARG1
  --child-arg2 CHILD_ARG2



Is there a patch for it too? :)
History
Date User Action Args
2015-12-17 11:46:25balagesetrecipients: + balage, paul.j3
2015-12-17 11:46:25balagesetmessageid: <1450352785.07.0.397592928495.issue25882@psf.upfronthosting.co.za>
2015-12-17 11:46:25balagelinkissue25882 messages
2015-12-17 11:46:24balagecreate