diff options
| author | Greg Ward <gward@python.net> | 2000-06-08 00:35:33 +0000 |
|---|---|---|
| committer | Greg Ward <gward@python.net> | 2000-06-08 00:35:33 +0000 |
| commit | 74f4d48df9b4e3afe675b6fe446c6d4ad1dee325 (patch) | |
| tree | abc51cccc4f3c1328c6ba9c0b31baa64937e3888 /fancy_getopt.py | |
| parent | 3acc171c28a904839b263f8a6cbb617c9894d184 (diff) | |
| download | python-setuptools-git-74f4d48df9b4e3afe675b6fe446c6d4ad1dee325.tar.gz | |
Fixed so we print more than just the first line of help for options with
a short form and text that wraps onto multiple lines.
Diffstat (limited to 'fancy_getopt.py')
| -rw-r--r-- | fancy_getopt.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fancy_getopt.py b/fancy_getopt.py index a593354c..6adfc819 100644 --- a/fancy_getopt.py +++ b/fancy_getopt.py @@ -369,9 +369,6 @@ class FancyGetopt: else: lines.append (" --%-*s " % (max_opt, long)) - for l in text[1:]: - lines.append (big_indent + l) - # Case 2: we have a short option, so we have to include it # just after the long option else: @@ -382,6 +379,9 @@ class FancyGetopt: else: lines.append (" --%-*s" % opt_names) + for l in text[1:]: + lines.append (big_indent + l) + # for self.option_table return lines |
