[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 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
[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 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 ___ notmuch mailing list notmuch@notmuchmail.org http://notmuchmail.org/mailman/listinfo/notmuch