X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=doc%2Fman1%2Fnotmuch.rst;h=e0892e01667be75a8ae66ab3a89ad737ad9f12e8;hb=a5504e8b1cfd8dddfe395ba4a46da3ea6008e714;hp=93135bdd6abb6ce3cff8f5b917c55cf14e8d1a8a;hpb=574b2436eeabf60c930ba227931ee87b0b151a65;p=notmuch diff --git a/doc/man1/notmuch.rst b/doc/man1/notmuch.rst index 93135bdd..e0892e01 100644 --- a/doc/man1/notmuch.rst +++ b/doc/man1/notmuch.rst @@ -43,25 +43,31 @@ OPTIONS Supported global options for ``notmuch`` include -``--help`` [command-name] - Print a synopsis of available commands and exit. With an optional - command name, show the man page for that subcommand. - -``--version`` - Print the installed version of notmuch, and exit. - -``--config=FILE`` - Specify the configuration file to use. This overrides any - configuration file specified by :envvar:`NOTMUCH_CONFIG`. The empty - string is a permitted and sometimes useful value of *FILE*, which - tells ``notmuch`` to use only configuration metadata from the database. - -``--uuid=HEX`` - Enforce that the database UUID (a unique identifier which persists - until e.g. the database is compacted) is HEX; exit with an error - if it is not. This is useful to detect rollover in modification - counts on messages. You can find this UUID using e.g. ``notmuch - count --lastmod`` +.. program:: notmuch + +.. option:: --help [command-name] + + Print a synopsis of available commands and exit. With an optional + command name, show the man page for that subcommand. + +.. option:: --version + + Print the installed version of notmuch, and exit. + +.. option:: --config=FILE + + Specify the configuration file to use. This overrides any + configuration file specified by :envvar:`NOTMUCH_CONFIG`. The empty + string is a permitted and sometimes useful value of *FILE*, which + tells ``notmuch`` to use only configuration metadata from the database. + +.. option:: --uuid=HEX + + Enforce that the database UUID (a unique identifier which persists + until e.g. the database is compacted) is HEX; exit with an error + if it is not. This is useful to detect rollover in modification + 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 @@ -158,6 +164,11 @@ of notmuch. Specifies the location of the notmuch configuration file. See :any:`notmuch-config(1)` for details. +.. envvar:: NOTMUCH_DATABASE + + Specifies the location of the notmuch database. See + :any:`notmuch-config(1)` for details. + .. envvar:: NOTMUCH_PROFILE Selects among notmuch configurations. See :any:`notmuch-config(1)` @@ -174,6 +185,14 @@ of notmuch. If set to a non-empty value, the notmuch library will print (to stderr) Xapian queries it constructs. +EXTERNAL COMMANDS +================= + +When given a subcommand `foo` not recognized as built-in, notmuch will +try to run the command (e.g. script) `notmuch-foo` in the user's +path. The :envvar:`NOTMUCH_CONFIG` will be set according to +:option:`--config`, if the latter is present. + SEE ALSO ======== @@ -204,4 +223,4 @@ list . Subscription is not required before posting, but is available from the notmuchmail.org website. Real-time interaction with the Notmuch community is available via IRC -(server: irc.freenode.net, channel: #notmuch). +(server: irc.libera.chat, channel: #notmuch).