Closed GoogleCodeExporter closed 9 years ago
This is definitely doable, since the output format would only change when the
new
fullname= argument was supplied. I'll try to add this for the next release,
though if
you're feeling ambitious, feel free to produce a patch yourself, and I'll
review it.
Original comment by steven.b...@gmail.com
on 15 Dec 2009 at 5:25
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.
Original comment by steven.b...@gmail.com
on 23 Jul 2010 at 12:12
Better take a look at Bazaar and Mercurial. They are potential users of
argparse.
Original comment by techtonik@gmail.com
on 26 Jul 2010 at 2:19
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.
Original comment by steven.b...@gmail.com
on 26 Jul 2010 at 9:55
Original issue reported on code.google.com by
techtonik@gmail.com
on 15 Dec 2009 at 1:21