Code

Output extra \n on tig -h
[tig.git] / tig.c
diff --git a/tig.c b/tig.c
index 680811f24f191d5b54450230c426c193c9613779..a54e57a41ad2cf86c5ecb32f66f78ed96c305e62 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;
                }