From: David Bremner Date: Thu, 4 Jun 2015 14:25:50 +0000 (+0200) Subject: [PATCH] doc: add minimal note about shared options. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=cb46682bcbd85271ca682406182f99181eaccb7e;p=notmuch-archives.git [PATCH] doc: add minimal note about shared options. --- diff --git a/e5/da155c8a5407026b0fbdb45684b7fe4d3f848d b/e5/da155c8a5407026b0fbdb45684b7fe4d3f848d new file mode 100644 index 000000000..a8102faf2 --- /dev/null +++ b/e5/da155c8a5407026b0fbdb45684b7fe4d3f848d @@ -0,0 +1,71 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id 5119D6DE190A + for ; Thu, 4 Jun 2015 07:27:05 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: 0.248 +X-Spam-Level: +X-Spam-Status: No, score=0.248 tagged_above=-999 required=5 tests=[AWL=0.238, + T_HEADER_FROM_DIFFERENT_DOMAINS=0.01] autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id fzXNr0F2gQVy for ; + Thu, 4 Jun 2015 07:27:03 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) + by arlo.cworth.org (Postfix) with ESMTPS id E3D8C6DE1905 + for ; Thu, 4 Jun 2015 07:27:02 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.80) (envelope-from ) + id 1Z0W61-0006Mn-Pg; Thu, 04 Jun 2015 14:26:13 +0000 +Received: (nullmailer pid 19075 invoked by uid 1000); Thu, 04 Jun 2015 + 14:26:00 -0000 +From: David Bremner +To: David Bremner , notmuch@notmuchmail.org +Subject: [PATCH] doc: add minimal note about shared options. +Date: Thu, 4 Jun 2015 16:25:50 +0200 +Message-Id: <1433427950-19023-1-git-send-email-david@tethera.net> +X-Mailer: git-send-email 2.1.4 +In-Reply-To: <1433396001-10822-1-git-send-email-david@tethera.net> +References: <1433396001-10822-1-git-send-email-david@tethera.net> +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.18 +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: Thu, 04 Jun 2015 14:27:05 -0000 + +The example is a bit silly, but notmuch subcommand --help is actually +not equivalent to "notmuch --help subcommand". +--- + doc/man1/notmuch.rst | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst +index b33738e..ae0461a 100644 +--- a/doc/man1/notmuch.rst ++++ b/doc/man1/notmuch.rst +@@ -49,6 +49,10 @@ Supported global options for ``notmuch`` include + Specify the configuration file to use. This overrides any + configuration file specified by ${NOTMUCH\_CONFIG}. + ++All global options except ``--config`` can also be specified after the ++command. For example, ``notmuch subcommand --version`` is equivalent to ++``notmuch --version subcommand``. ++ + COMMANDS + ======== + +-- +2.1.4 +