From: Jed Brown Date: Sat, 28 Nov 2009 17:56:15 +0000 (+0100) Subject: Documentation for notmuch reply --format=(default|headers-only) X-Git-Tag: 0.1~293 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=a2a522a758518d19e0cf4b96cf3c55287b0fbf4f Documentation for notmuch reply --format=(default|headers-only) Signed-off-by: Jed Brown --- diff --git a/notmuch.1 b/notmuch.1 index 2be77f99..04bd0cf1 100644 --- a/notmuch.1 +++ b/notmuch.1 @@ -211,9 +211,9 @@ section below for details of the supported syntax for . The .B reply command is useful for preparing a template for an email reply. - -.TP -.BR reply " ..." +.RS 4 +.TP 4 +.BR reply " [options...] ..." Constructs a reply template for a set of messages. @@ -236,6 +236,21 @@ each line with '> ' and included in the body. The resulting message template is output to stdout. +Supported options for +.B reply +include +.RS +.TP 4 +.BR \-\-format= ( default | headers\-only ) +.RS +.TP 4 +.BR default +Includes subject and quoted message body. +.TP +.BR headers-only +Only produces In-Reply-To, References, To, Cc, and Bcc headers. +.RE + See the .B "SEARCH SYNTAX" section below for details of the supported syntax for . @@ -248,6 +263,7 @@ once. For example, when a series of patches are sent in a single thread, replying to the entire thread allows for the reply to comment on issue found in multiple patches. .RE +.RE The .B tag diff --git a/notmuch.c b/notmuch.c index 5b0284cd..d9846ce7 100644 --- a/notmuch.c +++ b/notmuch.c @@ -204,7 +204,7 @@ command_t commands[] = { "\t\tSee \"notmuch help search-terms\" for details of the search\n" "\t\tterms syntax." }, { "reply", notmuch_reply_command, - " [...]", + "[options...] [...]", "\t\tConstruct a reply template for a set of messages.", "\t\tConstructs a new message as a reply to a set of existing\n" "\t\tmessages. The Reply-To: header (if any, otherwise From:) is\n" @@ -213,10 +213,22 @@ command_t commands[] = { "\n" "\t\tA suitable subject is constructed. The In-Reply-to: and\n" "\t\tReferences: headers are set appropriately, and the content\n" - "\t\tof the original messages is quoted and included in the body.\n" + "\t\tof the original messages is quoted and included in the body\n" + "\t\t(unless --format=headers-only is given).\n" "\n" "\t\tThe resulting message template is output to stdout.\n" "\n" + "\t\tSupported options for reply include:\n" + "\n" + "\t\t--format=(default|headers-only)\n" + "\n" + "\t\t\tdefault:\n" + "\t\t\t\tIncludes subject and quoted message body.\n" + "\n" + "\t\t\theaders-only:\n" + "\t\t\t\tOnly produces In-Reply-To, References, To\n" + "\t\t\t\tCc, and Bcc headers.\n" + "\n" "\t\tSee \"notmuch help search-terms\" for details of the search\n" "\t\tterms syntax." }, { "tag", notmuch_tag_command,