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

David Bremner david at tethera.net
Thu Jun 4 07:25:50 PDT 2015


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



More information about the notmuch mailing list