Document the new --profile=PROFILE global option in the notmuch(1) man page, and
update the note about options that must appear before the subcommand name.

Signed-off-by: inwit <[email protected]>
---
 doc/man1/notmuch.rst | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst
index c488f12a..376f60b2 100644
--- a/doc/man1/notmuch.rst
+++ b/doc/man1/notmuch.rst
@@ -61,6 +61,13 @@ Supported global options for ``notmuch`` include
    string is a permitted and sometimes useful value of *FILE*, which
    tells ``notmuch`` to use only configuration metadata from the database.
 
+.. option:: --profile=PROFILE
+
+   Select among notmuch configurations. This overrides
+   :envvar:`NOTMUCH_PROFILE` for selecting which profile's configuration
+   to use. See :any:`notmuch-config(1)` for details on the profile
+   search order.
+
 .. option:: --uuid=HEX
 
    Enforce that the database UUID (a unique identifier which persists
@@ -69,9 +76,9 @@ Supported global options for ``notmuch`` include
    counts on messages. You can find this UUID using e.g. ``notmuch
    count --lastmod``
 
-All global options except ``--config`` can also be specified after the
-command. For example, ``notmuch subcommand --uuid=HEX`` is equivalent
-to ``notmuch --uuid=HEX subcommand``.
+All global options except ``--config`` and ``--profile`` can also be
+specified after the command. For example, ``notmuch subcommand
+--uuid=HEX`` is equivalent to ``notmuch --uuid=HEX subcommand``.
 
 COMMANDS
 ========
-- 
2.53.0

_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to