buildman: refactor help message
PATCH 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.
---
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 += """ -b <branch> Build U-Boot for all commits in a branch. Use -n to do a dry run"""
Signature · 1 line
1.9.1
PATCH 1/1 buildman: refactor help message (This has been superseded !)
Hi Tom,
I notice this patch is already marked as Under Review and I guess you are testing it locally now.
If it is not too late, could you replace it with v2 please?
http://patchwork.ozlabs.org/patch/382136/
I found "-b <branch>" is not a mandatory option.
Best Regards
Masahiro Yamada
Quoted 26 lines · On Thu, 21 Aug 2014 14:28:19 +0900 Masahiro Yamada <[email protected]>…
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage
instead of replacing it.Signed-off-by Masahiro Yamada <[email protected]>---
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 += """ -b <branch> Build U-Boot for all commits in a branch. Use -n to do a dry run"""Signature · 1 line
1.9.1
PATCH 1/1 buildman: refactor help message (This has been superseded !)
Quoted 8 lines · Masahiro Yamada
Hi Tom,
I notice this patch is already marked as Under Review and I guess you are testing it locally now.
If it is not too late, could you replace it with v2 please?
http://patchwork.ozlabs.org/patch/382136/
Will do, 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/20140822/885ab26e/attachment.pgp>
PATCH 1/1 buildman: refactor help message
In reply to Masahiro YamadaHi Masahiro,
Quoted 16 lines · Masahiro Yamada
"buildman [options]" is displayed by default.
Append the rest of help messages to parser.usage
instead of replacing it.Signed-off-by Masahiro Yamada <[email protected]>---
tools/buildman/buildman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/buildman/buildman.py +0
-0
tools/buildman/buildman.py parser.add_option('-u', '--show_unknown', action='store_true', · line 121
Quoted 5 lines
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 += """ -b <branch>
Actually, it's my mistake but the -b argument is now optional. So perhaps it could be:
tools/buildman/buildman.py parser.add_option('-u', '--show_unknown', action='store_true', · line 122
Quoted 1 line
tools/buildman/buildman.py +1
-0+parser.usage += """ [-b <branch>]
Regards,
Simon