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 D0AB9431FBF for ; Sun, 26 May 2013 09:28:59 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 R2gci6SAfkb1 for ; Sun, 26 May 2013 09:28:49 -0700 (PDT) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 9CC11431FAE for ; Sun, 26 May 2013 09:28:49 -0700 (PDT) Received: from guru.guru-group.fi (localhost [IPv6:::1]) by guru.guru-group.fi (Postfix) with ESMTP id E8A87100093; Sun, 26 May 2013 19:28:43 +0300 (EEST) From: Tomi Ollila To: Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH] cli: remove unused argument descriptions In-Reply-To: <1369480153-15190-1-git-send-email-jani@nikula.org> References: <1369480153-15190-1-git-send-email-jani@nikula.org> User-Agent: Notmuch/0.15.2+115~g12cf6af (http://notmuchmail.org) Emacs/24.3.1 (x86_64-unknown-linux-gnu) X-Face: HhBM'cA~ MIME-Version: 1.0 Content-Type: text/plain 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: Sun, 26 May 2013 16:29:00 -0000 On Sat, May 25 2013, Jani Nikula wrote: > Clean up leftovers from help system rework. These are no longer > needed. They are easy to resurrect and update if a need later arises. > --- +1 Tomi > 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 > > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch