summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/distutils/fancy_getopt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/distutils/fancy_getopt.py b/Lib/distutils/fancy_getopt.py
index a593354c9d..6adfc819c2 100644
--- a/Lib/distutils/fancy_getopt.py
+++ b/Lib/distutils/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