cli: add missing \n in error message

The error messages returned by illegal_tag() don't contain newlines.
This commit is contained in:
Jani Nikula 2014-03-04 18:51:54 +02:00 committed by David Bremner
parent 07fdac912f
commit 735cbb8719

View file

@ -172,7 +172,7 @@ parse_tag_command_line (void *ctx, int argc, char **argv,
msg = illegal_tag (argv[i] + 1, is_remove); msg = illegal_tag (argv[i] + 1, is_remove);
if (msg) { if (msg) {
fprintf (stderr, "Error: %s", msg); fprintf (stderr, "Error: %s\n", msg);
return TAG_PARSE_INVALID; return TAG_PARSE_INVALID;
} }