From 43cbbfc2788a48f817152936789ebed1a567cf9f Mon Sep 17 00:00:00 2001 From: Sebastian Spaeth Date: Fri, 16 Apr 2010 09:06:02 +0200 Subject: [PATCH] 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 --- notmuch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.0