diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2020-05-07 15:26:45 -0400 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2020-05-08 08:58:46 -0300 |
commit | 02a2bf1b256f4eeb8c5e08129a2f0976da2569ce (patch) | |
tree | f64b00aa3332fd93d2e3aec75dd388962c83e024 | |
parent | 45cfeb2e557bb4eeb2a9821fa44207eeb6cd335c (diff) |
notmuch(1): clarify documentation about --option/value separators
id:CA+Tk8fzRiqxWpd=r8=DRvEewNZXUZgD7MKyRLB1A=R-LxxGEZw@mail.gmail.com
started a thread of discussion that showed that the cli's current
idiosyncrasies around dealing with boolean options were not
understandable.
This attempts to improve the documentation at least (actual changes to
the API might be better, but have not reached consensus).
Note that no one in the discussion thread identified any other
(non-boolean) command-line options that cannot use space as a
separator. If such an option is identified (or introduced in the
future), it should be added explicitly to this part of the manual.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
-rw-r--r-- | doc/man1/notmuch.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst index d2cd8da5..fecfd08a 100644 --- a/doc/man1/notmuch.rst +++ b/doc/man1/notmuch.rst @@ -128,9 +128,9 @@ OPTION SYNTAX ------------- All options accepting an argument can be used with '=' or ':' as a -separator. For the cases where it's not ambiguous (in particular -excluding boolean options), a space can also be used. The following -are all equivalent: +separator. Except for boolean options (which would be ambiguous), a +space can also be used as a separator. The following are all +equivalent: :: |