]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
patman: refactor help message
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 21 Aug 2014 05:28:03 +0000 (14:28 +0900)
committerTom Rini <trini@ti.com>
Fri, 22 Aug 2014 14:41:50 +0000 (10:41 -0400)
"patman [options]" is displayed by default.

Append the rest of help messages to parser.usage
instead of replacing it.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
tools/patman/patman.py

index ba5dc91315bf09fa482a8951c39ebeef265f85a9..ca34cb9fd8bac0b54eabb7cecb6fbd56a99147ac 100755 (executable)
@@ -58,7 +58,7 @@ parser.add_option('--no-check', action='store_false', dest='check_patch',
 parser.add_option('--no-tags', action='store_false', dest='process_tags',
                   default=True, help="Don't process subject tags as aliaes")
 
-parser.usage = """patman [options]
+parser.usage += """
 
 Create patches from commits in a branch, check them and email them as
 specified by tags you place in the commits. Use -n to do a dry run first."""