[PATCH] doc: add minimal note about shared options.

Subject: [PATCH] doc: add minimal note about shared options.

Date: Thu, 4 Jun 2015 16:25:50 +0200

To: David Bremner, notmuch@notmuchmail.org

Cc:

From: David Bremner


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


Thread: