]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
buildman: refactor help message
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Fri, 22 Aug 2014 10:12:41 +0000 (19:12 +0900)
committerTom Rini <trini@ti.com>
Fri, 22 Aug 2014 14:42:36 +0000 (10:42 -0400)
"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 <yamada.m@jp.panasonic.com>
tools/buildman/buildman.py

index 6ca8dc65b5bc8ae291706766c4d9e676fc6bf0c0..e18859b3d79723288eb43dd70da6d2acdf081d82 100755 (executable)
@@ -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"""