From: Stefan Naewe Date: Wed, 26 Mar 2008 12:04:53 +0000 (+0100) Subject: Output extra \n on tig -h X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ab7a48a1c2dcfc89bc89f3bf28674d724bb58ee3;p=tig.git Output extra \n on tig -h The usage string does not contain a '\n' as the last character which is annoying when calling 'tig -h'. Signed-off-by: Jonas Fonseca --- diff --git a/tig.c b/tig.c index 680811f..a54e57a 100644 --- 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; }