[PATCH] cli: add missing \n in error message

Jani Nikula jani at nikula.org
Tue Mar 4 08:51:54 PST 2014


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 e2d5b795acc3..343c161f471a 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;
 	}
 
-- 
1.8.5.3



More information about the notmuch mailing list