aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch.1
diff options
context:
space:
mode:
authorGravatar Carl Worth <cworth@cworth.org>2010-10-27 15:38:16 -0700
committerGravatar Carl Worth <cworth@cworth.org>2010-10-27 15:38:16 -0700
commit65f2e61f28a0f5c5dc38dd3cf8a1de023934b330 (patch)
tree682776ed00f2b2dfd5d7c79115aa8a7efa30497a /notmuch.1
parent49d90ede87e355b086618c647d19e696b9f7069a (diff)
notmuch config: Allow for new "notmuch config set" in addition to get
It is now possible to set configuration items from the command-line in a manner quite similar to the support for querying configuration items.
Diffstat (limited to 'notmuch.1')
-rw-r--r--notmuch.118
1 files changed, 14 insertions, 4 deletions
diff --git a/notmuch.1 b/notmuch.1
index 41f7c7e4..f803f908 100644
--- a/notmuch.1
+++ b/notmuch.1
@@ -406,15 +406,13 @@ section below for details of the supported syntax for <search-terms>.
The
.B config
-command can be used to get settings from the notmuch configuration
-file.
+command can be used to get or set settings int the notmuch
+configuration file.
.RS 4
.TP 4
.BR "config get " <section> . <item>
-Get settings from the notmuch configuration file.
-
The value of the specified configuration item is printed to stdout. If
the item has multiple values, each value is separated by a newline
character.
@@ -432,6 +430,18 @@ Available configuration items include at least
new.tags
.RE
+.RS 4
+.TP 4
+.BR "config set " <section> . "<item> [values ...]"
+
+The specified configuration item is set to the given value. To
+specify a multiple-value item, provide each value as a separate
+command-line argument.
+
+If no values are provided, the specified configuration item will be
+removed from the configuration file.
+.RE
+
.SH SEARCH SYNTAX
Several notmuch commands accept a common syntax for search terms.