From: Sebastian Spaeth Date: Fri, 16 Apr 2010 07:06:02 +0000 (+0200) Subject: notmuch.c: Shorten version string X-Git-Tag: 0.2~20 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=43cbbfc2788a48f817152936789ebed1a567cf9f;hp=b4459b8a4d39f635f79d44f676be13e974cc1a72 notmuch.c: Shorten version string We previously output "notmuch version 0.1" as response to notmuch --version. Shorten this to "notmuch 0.1" as we know that we will receive a version number when we explicitely ask for it. Signed-off-by: Sebastian Spaeth --- diff --git a/notmuch.c b/notmuch.c index dcfda321..0eea5e11 100644 --- a/notmuch.c +++ b/notmuch.c @@ -474,7 +474,7 @@ main (int argc, char *argv[]) return notmuch_help_command (NULL, 0, NULL); if (STRNCMP_LITERAL (argv[1], "--version") == 0) { - printf ("notmuch version " STRINGIFY(NOTMUCH_VERSION) "\n"); + printf ("notmuch " STRINGIFY(NOTMUCH_VERSION) "\n"); return 0; }