projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07fdac9
)
cli: add missing \n in error message
author
Jani Nikula
<jani@nikula.org>
Tue, 4 Mar 2014 16:51:54 +0000
(18:51 +0200)
committer
David Bremner
<david@tethera.net>
Thu, 6 Mar 2014 11:46:27 +0000
(07:46 -0400)
The error messages returned by illegal_tag() don't contain newlines.
tag-util.c
patch
|
blob
|
history
diff --git
a/tag-util.c
b/tag-util.c
index e2d5b795acc30c35afb2c6ac62e750165ed8f128..343c161f471aa827ff186df01e7c24afe71e5d06 100644
(file)
--- 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;
}