Comment #2 on issue 50 by steven.bethard: convention for reporting program
name and version by default
http://code.google.com/p/argparse/issues/detail?id=50
Hmm. So I looked around, and I can't find an example of this being used in
a command line program *before* the "usage:". Here's svn:
$ svn help
usage: svn <subcommand> [options] [args]
Subversion command-line client, version 1.6.5.
If it's after "usage:" you can just add it to the description text. It's
only that if it needs to be before usage that you can't do it with argparse
yet.
I'm closing this as WontFix, but if you would really like the ability to
add text before "usage:" and not just after, please open a new ticket on
bugs.python.org (argparse's new home), preferably with the output of a
couple different command line programs that do this so I can see exactly
what needs to be supported.
Better take a look at Bazaar and Mercurial. They are potential users of
argparse.
As I said, please open a new ticket on bugs.python.org. Don't comment on
this issue here - this tracker is no longer in use.