mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-17 08:33:40 +08:00
help: Don't show empty Summary or Description sections
Signed-off-by: Shawn O. Pearce <sop@google.com> (cherry picked from commit 60e679209a5495393ef584efaaad287fc8b77c51)
This commit is contained in:
@ -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()
|
||||
|
||||
|
Reference in New Issue
Block a user