[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2010-12-17 Thread Mads Michelsen
Mads Michelsen added the comment: @eric.araujo: What you're saying is 'if you want it done, do it yourself'? :) -- ___ Python tracker <http://bugs.pyt

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2010-12-11 Thread Mads Michelsen
Mads Michelsen added the comment: Okay, I'll try: Save the following code as argparse_test.py: [CODE] #! /usr/bin/env python2 import argparse def args_config(about): parser = argparse.ArgumentParser(description=about) dummy_group = parser.add_argument_group(title='mutually

[issue10680] argparse: titles and add_mutually_exclusive_group don't mix (even with workaround)

2010-12-11 Thread Mads Michelsen
New submission from Mads Michelsen : This is a follow-up to Issue 58 from the Google Project Hosting bug tracker (http://code.google.com/p/argparse/issues/detail?id=58). I couldn't find any equivalent/re-posting of it here, so I took the liberty of creating a new one - despite the bug