Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8F5CA4196F0 for ; Fri, 16 Apr 2010 00:06:08 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lka+szqESphE for ; Fri, 16 Apr 2010 00:06:08 -0700 (PDT) Received: from homiemail-a19.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by olra.theworths.org (Postfix) with ESMTP id EB3E8431FC1 for ; Fri, 16 Apr 2010 00:06:07 -0700 (PDT) Received: from localhost.localdomain (unknown [195.190.188.219]) by homiemail-a19.g.dreamhost.com (Postfix) with ESMTPA id A58AA604061; Fri, 16 Apr 2010 00:06:06 -0700 (PDT) From: Sebastian Spaeth To: Notmuch developer list Subject: [PATCH] notmuch.c: Shorten version string Date: Fri, 16 Apr 2010 09:06:02 +0200 Message-Id: <1271401562-8519-1-git-send-email-Sebastian@SSpaeth.de> X-Mailer: git-send-email 1.7.0.4 X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Apr 2010 07:06:08 -0000 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/notmuch.c b/notmuch.c index dcfda32..0eea5e1 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; } -- 1.7.0.4