summaryrefslogtreecommitdiff
path: root/notmuch.1
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-10-27 13:02:17 -0700
committerCarl Worth <cworth@cworth.org>2010-10-27 13:02:17 -0700
commitb9eac48c22f53f84ed1d9c1d8ca862a7b638c9ac (patch)
tree5b8670eb3bee7a3ab019c10bdcfeb5f7e8df3276 /notmuch.1
parent6c65fcd9aaf9307f6b08ab6b2c70c380ad6d3018 (diff)
notmuch: Add a new "notmuch config" command for querying configuration.
So far, we implement only "notmuch config get". It won't be too much work from here to also implement "notmuch config set".
Diffstat (limited to 'notmuch.1')
-rw-r--r--notmuch.128
1 files changed, 28 insertions, 0 deletions
diff --git a/notmuch.1 b/notmuch.1
index 3ec9c55..41f7c7e 100644
--- a/notmuch.1
+++ b/notmuch.1
@@ -404,6 +404,34 @@ See the
section below for details of the supported syntax for <search-terms>.
.RE
+The
+.B config
+command can be used to get settings from 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.
+
+Available configuration items include at least
+
+ database.path
+
+ user.name
+
+ user.primary_email
+
+ user.other_email
+
+ new.tags
+.RE
+
.SH SEARCH SYNTAX
Several notmuch commands accept a common syntax for search terms.