]> git.notmuchmail.org Git - notmuch/commitdiff
notmuch.c: Shorten version string
authorSebastian Spaeth <Sebastian@SSpaeth.de>
Fri, 16 Apr 2010 07:06:02 +0000 (09:06 +0200)
committerCarl Worth <cworth@cworth.org>
Fri, 16 Apr 2010 14:35:17 +0000 (07:35 -0700)
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 <Sebastian@SSpaeth.de>
notmuch.c

index dcfda32123fbb7c457d9b55cfc107eea4e838153..0eea5e11f20c49af89587aaddaa171fd6361c7c0 100644 (file)
--- 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;
     }