From 65f2e61f28a0f5c5dc38dd3cf8a1de023934b330 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Wed, 27 Oct 2010 15:38:16 -0700 Subject: 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. --- notmuch.1 | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'notmuch.1') 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 . 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 "
. -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 "
. " [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. -- cgit v1.2.3