help: Don't show empty Summary or Description sections
Signed-off-by: Shawn O. Pearce <sop@google.com>
(cherry picked from commit 60e679209a
)
This commit is contained in:
parent
0d2b61f11d
commit
c7c57e34db
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue