mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 17:34:54 +01:00
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 <Sebastian@SSpaeth.de>
This commit is contained in:
parent
b4459b8a4d
commit
43cbbfc278
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue