]> git.notmuchmail.org Git - notmuch/blobdiff - doc/man1/notmuch.rst
CLI: document handling of --config for external commands
[notmuch] / doc / man1 / notmuch.rst
index c6ee30366264016846701ee4b3c4a9d4df343877..e0892e01667be75a8ae66ab3a89ad737ad9f12e8 100644 (file)
@@ -185,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
 ========