buildman: refactor help message
PATCH v2 1/1 buildman: refactor help message
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage
instead of replacing it.
Besides, "-b <branch>" is not mandatory since commit fea5858e. Drop it from the usage.
---
Changes in v2:
- Drop "-b <branch>" from the usage
tools/buildman/buildman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/buildman/buildman.py +1 -1
@@ -118,7 +118,7 @@ parser.add_option('-u', '--show_unknown', action='store_true', parser.add_option('-v', '--verbose', action='store_true', default=False, help='Show build results while the build progresses') -parser.usage = """buildman -b <branch> [options] +parser.usage += """ Build U-Boot for all commits in a branch. Use -n to do a dry run"""
Signature · 1 line
1.9.1
PATCH v2 1/1 buildman: refactor help message
Quoted 7 lines · Masahiro Yamada
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage
instead of replacing it.Besides, "-b <branch>" is not mandatory since commit
fea5858e. Drop it from the usage.
Yes.
Quoted 2 lines
Signed-off-by Masahiro Yamada <[email protected]>
PATCH v2 1/1 buildman: refactor help message
In reply to Masahiro YamadaQuoted 9 lines · Masahiro Yamada
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage
instead of replacing it.Besides, "-b <branch>" is not mandatory since commit
fea5858e. Drop it from the usage.Signed-off-by Masahiro Yamada <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140823/dc9ac3c5/attachment.pgp>