]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc-changelog: remove newlines in git_email.py --help
authorMartin Liska <mliska@suse.cz>
Mon, 10 May 2021 13:17:06 +0000 (15:17 +0200)
committerMartin Liska <mliska@suse.cz>
Mon, 10 May 2021 13:17:06 +0000 (15:17 +0200)
contrib/ChangeLog:

* gcc-changelog/git_email.py: Remove newlines when --help
is used.

contrib/gcc-changelog/git_email.py

index 7ebf4c4e6ec91ea5847baca6ec03a4eb3d98a41d..65ccb8cea997aedbea499e40c7ea994fcc741bff 100755 (executable)
@@ -73,8 +73,7 @@ class GitEmail(GitCommit):
 
 
 def show_help():
-    print("""
-usage: git_email.py [--help] [patch file ...]
+    print("""usage: git_email.py [--help] [patch file ...]
 
 Check git ChangeLog format of a patch
 
@@ -82,8 +81,7 @@ With zero arguments, process every patch file in the
 ./patches directory.
 With one argument, process the named patch file.
 
-Patch files must be in 'git format-patch' format.
-""")
+Patch files must be in 'git format-patch' format.""")
     sys.exit(0)