From: Jani Nikula Date: Sat, 25 May 2013 11:09:13 +0000 (+0300) Subject: [PATCH] cli: remove unused argument descriptions X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=023ca55b3d568880db841c67073836d5d9e593c7;p=notmuch-archives.git [PATCH] cli: remove unused argument descriptions --- diff --git a/08/1574956451302cd20232e0ba74e7c89a48f313 b/08/1574956451302cd20232e0ba74e7c89a48f313 new file mode 100644 index 000000000..9fb750637 --- /dev/null +++ b/08/1574956451302cd20232e0ba74e7c89a48f313 @@ -0,0 +1,125 @@ +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 8D1F9431FAE + for ; Sat, 25 May 2013 04:09:27 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +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 E+POwYaHQtjw for ; + Sat, 25 May 2013 04:09:21 -0700 (PDT) +Received: from mail-la0-f52.google.com (mail-la0-f52.google.com + [209.85.215.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id BA62F431FAF + for ; Sat, 25 May 2013 04:09:20 -0700 (PDT) +Received: by mail-la0-f52.google.com with SMTP id fo13so5163429lab.25 + for ; Sat, 25 May 2013 04:09:19 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; + bh=Qe8kiAvmbZMQ54nrUvu9mP9Fj2B3naGBcUDEkIgwhA8=; + b=UF7GwM914vrsWFL8JddhuwuNUWh7Sr4mUReG55ulQumOSe27ojGv+FQL5RxoCanosr + cZOyS5pOTyftVfcHSVwIhQd0obbJFFvaGB2ix1sG7LamAyd34Cec3qTcAOAQjx7OmUxD + zrVx4w2VPvi3JngG+r4ggm1K32+/+/+2UBVw2sDYVM2j2iCpXAnz5q8vDB52Y630Sz5L + 23x/6LLU+hdUTGDMpnrSlg47gA0p2pxT/0m+6UIZf4FGqHdlkyaJ33TJTKIrqGuClwyq + LwS13Z8bs5pExRbUvZXhRMgxn/N4kr6vCtcu4LosMz++yxn1QdNCN+An75HOiqF7sOmJ + BD5A== +X-Received: by 10.152.37.164 with SMTP id z4mr10769085laj.21.1369480159020; + Sat, 25 May 2013 04:09:19 -0700 (PDT) +Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi. + [88.195.118.211]) + by mx.google.com with ESMTPSA id n5sm8041480lbe.15.2013.05.25.04.09.17 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Sat, 25 May 2013 04:09:18 -0700 (PDT) +From: Jani Nikula +To: notmuch@notmuchmail.org +Subject: [PATCH] cli: remove unused argument descriptions +Date: Sat, 25 May 2013 14:09:13 +0300 +Message-Id: <1369480153-15190-1-git-send-email-jani@nikula.org> +X-Mailer: git-send-email 1.7.10.4 +X-Gm-Message-State: + ALoCoQle0HdBl5HFQelrZGYpaITWPTK54r7jjlXUCiL/v2EDnuFkOd0RXOe54PQXEgIPJLaf56h5 +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: Sat, 25 May 2013 11:09:27 -0000 + +Clean up leftovers from help system rework. These are no longer +needed. They are easy to resurrect and update if a need later arises. +--- + notmuch.c | 13 ------------- + 1 file changed, 13 deletions(-) + +diff --git a/notmuch.c b/notmuch.c +index f51a84f..267ce3d 100644 +--- a/notmuch.c ++++ b/notmuch.c +@@ -28,7 +28,6 @@ typedef struct command { + const char *name; + command_function_t function; + notmuch_bool_t create_config; +- const char *arguments; + const char *summary; + } command_t; + +@@ -40,40 +39,28 @@ notmuch_command (notmuch_config_t *config, int argc, char *argv[]); + + static command_t commands[] = { + { NULL, notmuch_command, TRUE, +- NULL, + "Notmuch main command." }, + { "setup", notmuch_setup_command, TRUE, +- NULL, + "Interactively setup notmuch for first use." }, + { "new", notmuch_new_command, FALSE, +- "[options...]", + "Find and import new messages to the notmuch database." }, + { "search", notmuch_search_command, FALSE, +- "[options...] [...]", + "Search for messages matching the given search terms." }, + { "show", notmuch_show_command, FALSE, +- " [...]", + "Show all messages matching the search terms." }, + { "count", notmuch_count_command, FALSE, +- "[options...] [...]", + "Count messages matching the search terms." }, + { "reply", notmuch_reply_command, FALSE, +- "[options...] [...]", + "Construct a reply template for a set of messages." }, + { "tag", notmuch_tag_command, FALSE, +- "+|- [...] [--] [...]" , + "Add/remove tags for all messages matching the search terms." }, + { "dump", notmuch_dump_command, FALSE, +- "[] [--] []", + "Create a plain-text dump of the tags for each message." }, + { "restore", notmuch_restore_command, FALSE, +- "[--accumulate] []", + "Restore the tags from the given dump file (see 'dump')." }, + { "config", notmuch_config_command, FALSE, +- "[get|set]
. [value ...]", + "Get or set settings in the notmuch configuration file." }, + { "help", notmuch_help_command, TRUE, /* create but don't save config */ +- "[]", + "This message, or more detailed help for the named command." } + }; + +-- +1.7.10.4 +