summaryrefslogtreecommitdiffstats
path: root/doc/man1
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-10-14 16:15:43 +0300
committerDavid Bremner <david@tethera.net>2017-11-08 09:46:44 -0500
commit733ccfabca350f65a1d0ba1f64792a8a436da273 (patch)
tree602a83e0831b1ccd19d1a25c97fd34576481b7da /doc/man1
parent7ac96b149f5a0e5c03b64856d7c20789dab3c628 (diff)
cli: allow empty strings for notmuch insert --folder argument
Now that it's easy to add argument specific modifiers in opt descriptions, add a new .allow_empty field to allow empty strings for individual string arguments while retaining strict checks elsewhere. Use this for notmuch insert --folder, where the empty string means top level folder.
Diffstat (limited to 'doc/man1')
-rw-r--r--doc/man1/notmuch-insert.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man1/notmuch-insert.rst b/doc/man1/notmuch-insert.rst
index e2bf37d0..c500b251 100644
--- a/doc/man1/notmuch-insert.rst
+++ b/doc/man1/notmuch-insert.rst
@@ -34,7 +34,8 @@ Supported options for **insert** include
``--folder=<``\ folder\ **>**
Deliver the message to the specified folder, relative to the
top-level directory given by the value of **database.path**. The
- default is to deliver to the top-level directory.
+ default is the empty string, which means delivering to the
+ top-level directory.
``--create-folder``
Try to create the folder named by the ``--folder`` option, if it