Преглед изворни кода

Show options help after the summary for a command

It is a bit clearer to read this way.

Signed-off-by: Shawn O. Pearce <sop@google.com>
Shawn O. Pearce пре 17 година
родитељ
комит
5da554f294
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      subcmds/help.py

+ 1 - 1
subcmds/help.py

@@ -128,8 +128,8 @@ See 'repo help --all' for a complete list of recognized commands.
         self.wrap.end_paragraph(0)
 
     out = _Out(self.manifest.globalConfig)
-    cmd.OptionParser.print_help()
     out._PrintSection('Summary', 'helpSummary')
+    cmd.OptionParser.print_help()
     out._PrintSection('Description', 'helpDescription')
 
   def _Options(self, p):