]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.1
emacs: Avoid runtime use of `cl'.
[notmuch] / notmuch.1
index 3ec9c55c0d453fa0a2e97ab175cbeb0ec8221feb..f803f908f1a447f104de11ade9c3058c657a2203 100644 (file)
--- a/notmuch.1
+++ b/notmuch.1
@@ -404,6 +404,44 @@ See the
 section below for details of the supported syntax for <search-terms>.
 .RE
 
+The
+.B config
+command can be used to get or set settings int the notmuch
+configuration file.
+
+.RS 4
+.TP 4
+.BR "config get " <section> . <item>
+
+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.
+
+Available configuration items include at least
+
+       database.path
+
+       user.name
+
+       user.primary_email
+
+       user.other_email
+
+       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.