~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7be144b
)
Output extra \n on tig -h
author
Stefan Naewe
<naewe@as100897.atlas.de>
Wed, 26 Mar 2008 12:04:53 +0000
(13:04 +0100)
committer
Jonas Fonseca
<fonseca@diku.dk>
Thu, 27 Mar 2008 08:31:29 +0000
(09:31 +0100)
The usage string does not contain a '\n' as the last character which is
annoying when calling 'tig -h'.
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index
680811f
..
a54e57a
100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-524,7
+524,7
@@
parse_options(int argc, char *argv[])
return FALSE;
} else if (!strcmp(opt, "-h") || !strcmp(opt, "--help")) {
- printf(usage);
+ printf(
"%s\n",
usage);
return FALSE;
}