X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch.c;h=326aa4c8f6341737a29838b746e883612c386158;hb=75f703e7c2fe33920342c1bc534d19935c1e3513;hp=f9acfa36aa23ef7dc88abdfdefd577085b792acb;hpb=b9eac48c22f53f84ed1d9c1d8ca862a7b638c9ac;p=notmuch diff --git a/notmuch.c b/notmuch.c index f9acfa36..326aa4c8 100644 --- a/notmuch.c +++ b/notmuch.c @@ -322,19 +322,30 @@ command_t commands[] = { "\tmessage specified by the search terms does not include a\n" "\tpart with the specified \"id\" there will be no output." }, { "config", notmuch_config_command, - "get
.", - "Get settings from the notmuch configuration file.", + "[get|set]
. [value ...]", + "Get or set settings in the notmuch configuration file.", + " config get
.\n" + "\n" "\tThe value of the specified configuration item is printed\n" "\tto stdout. If the item has multiple values, each value\n" "\tis separated by a newline character.\n" "\n" - "\tAvailable configuration items include at least" + "\tAvailable configuration items include at least\n" "\n" "\t\tdatabase.path\n" "\t\tuser.name\n" "\t\tuser.primary_email\n" "\t\tuser.other_email\n" - "\t\tnew.tags\n" }, + "\t\tnew.tags\n" + "\n" + " config set
. [value ...]\n" + "\n" + "\tThe specified configuration item is set to the given value.\n" + "\tTo specify a multiple-value item, provide each value as\n" + "\ta separate command-line argument.\n" + "\n" + "\tIf no values are provided, the specified configuration item\n" + "\twill be removed from the configuration file." }, { "help", notmuch_help_command, "[]", "This message, or more detailed help for the named command.",