From 735cbb8719068c4741ed0a4f5ea68f2ed31b7009 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Tue, 4 Mar 2014 18:51:54 +0200 Subject: [PATCH] cli: add missing \n in error message The error messages returned by illegal_tag() don't contain newlines. --- tag-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag-util.c b/tag-util.c index e2d5b795..343c161f 100644 --- a/tag-util.c +++ b/tag-util.c @@ -172,7 +172,7 @@ parse_tag_command_line (void *ctx, int argc, char **argv, msg = illegal_tag (argv[i] + 1, is_remove); if (msg) { - fprintf (stderr, "Error: %s", msg); + fprintf (stderr, "Error: %s\n", msg); return TAG_PARSE_INVALID; }