unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH] doc: add minimal note about shared options.
@ 2015-06-04  5:33 David Bremner
  2015-06-04 14:25 ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2015-06-04  5:33 UTC (permalink / raw)
  To: notmuch

The example is necessarily a forward reference, but hopefully better
than nothing.
---
 doc/man1/notmuch.rst | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst
index b33738e..b91db7d 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 tag --help`` is equivalent to
+``notmuch help tag``.
+
 COMMANDS
 ========
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] doc: add minimal note about shared options.
  2015-06-04  5:33 [PATCH] doc: add minimal note about shared options David Bremner
@ 2015-06-04 14:25 ` David Bremner
  2015-06-05 16:57   ` David Bremner
  0 siblings, 1 reply; 3+ messages in thread
From: David Bremner @ 2015-06-04 14:25 UTC (permalink / raw)
  To: David Bremner, notmuch

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc: add minimal note about shared options.
  2015-06-04 14:25 ` David Bremner
@ 2015-06-05 16:57   ` David Bremner
  0 siblings, 0 replies; 3+ messages in thread
From: David Bremner @ 2015-06-05 16:57 UTC (permalink / raw)
  To: notmuch

David Bremner <david@tethera.net> writes:

> The example is a bit silly, but notmuch subcommand --help is actually
> not equivalent to "notmuch --help subcommand".

pushed

d

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-05 16:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-04  5:33 [PATCH] doc: add minimal note about shared options David Bremner
2015-06-04 14:25 ` David Bremner
2015-06-05 16:57   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).