From ab7a48a1c2dcfc89bc89f3bf28674d724bb58ee3 Mon Sep 17 00:00:00 2001 From: Stefan Naewe Date: Wed, 26 Mar 2008 13:04:53 +0100 Subject: [PATCH] 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 --- tig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2