mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
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>
This commit is contained in:
parent
77bb4af241
commit
5da554f294
@ -128,8 +128,8 @@ See 'repo help --all' for a complete list of recognized commands.
|
|||||||
self.wrap.end_paragraph(0)
|
self.wrap.end_paragraph(0)
|
||||||
|
|
||||||
out = _Out(self.manifest.globalConfig)
|
out = _Out(self.manifest.globalConfig)
|
||||||
cmd.OptionParser.print_help()
|
|
||||||
out._PrintSection('Summary', 'helpSummary')
|
out._PrintSection('Summary', 'helpSummary')
|
||||||
|
cmd.OptionParser.print_help()
|
||||||
out._PrintSection('Description', 'helpDescription')
|
out._PrintSection('Description', 'helpDescription')
|
||||||
|
|
||||||
def _Options(self, p):
|
def _Options(self, p):
|
||||||
|
Loading…
Reference in New Issue
Block a user