[issue12284] argparse.ArgumentParser: usage example option

Jonas H. report at bugs.python.org
Thu Jun 9 18:29:55 CEST 2011


Jonas H. <jonas at lophus.org> added the comment:

Nope. I want an "examples" section, for example from `man git log`:


EXAMPLES
       git log --no-merges
           Show the whole commit history, but skip any merges

       git log v2.6.12.. include/scsi drivers/scsi
           Show all commits since version v2.6.12 that changed any file in the include/scsi or drivers/scsi subdirectories

       ...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12284>
_______________________________________


More information about the Python-bugs-list mailing list