X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch.c;h=4ff66e3005dd3be43c532ff5d08a6a78e08fd655;hp=477a09cf05dd1bd803e8d68bfadf0e3c82660a65;hb=51b0f8ff3373fe744691b4836f4ee85919e3ec4a;hpb=0bbfc5ce8be91b881d9542d86aceec7e6a716e86 diff --git a/notmuch.c b/notmuch.c index 477a09cf..4ff66e30 100644 --- a/notmuch.c +++ b/notmuch.c @@ -245,10 +245,10 @@ main (int argc, char *argv[]) if (argc == 1) return notmuch (local); - if (STRNCMP_LITERAL (argv[1], "--help") == 0) + if (strcmp (argv[1], "--help") == 0) return notmuch_help_command (NULL, argc - 1, &argv[1]); - if (STRNCMP_LITERAL (argv[1], "--version") == 0) { + if (strcmp (argv[1], "--version") == 0) { printf ("notmuch " STRINGIFY(NOTMUCH_VERSION) "\n"); return 0; }