aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Jani Nikula <jani@nikula.org>2014-03-04 18:51:54 +0200
committerGravatar David Bremner <david@tethera.net>2014-03-06 07:46:27 -0400
commit735cbb8719068c4741ed0a4f5ea68f2ed31b7009 (patch)
tree1d1756e58f73bd6f7b2d82a2d95addd223dce4f2
parent07fdac912f8b60d1de085e2733cc72eaee6707b8 (diff)
cli: add missing \n in error message
The error messages returned by illegal_tag() don't contain newlines.
-rw-r--r--tag-util.c2
1 files changed, 1 insertions, 1 deletions
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;
}