mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
help: Don't show empty Summary or Description sections
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
f1a6b14fdc
commit
60e679209a
@ -94,6 +94,8 @@ See 'repo help --all' for a complete list of recognized commands.
|
||||
body = getattr(cmd, bodyAttr)
|
||||
except AttributeError:
|
||||
return
|
||||
if body == '' or body is None:
|
||||
return
|
||||
|
||||
self.nl()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user