[PATCH] man: show and reply --decrypt option requires gpg-agent

Jameson Graef Rollins jrollins at finestructure.net
Fri Mar 1 08:56:49 PST 2013


On Fri, Mar 01 2013, Jani Nikula <jani at nikula.org> wrote:
> ---
>  man/man1/notmuch-reply.1 |    9 ++++++---
>  man/man1/notmuch-show.1  |    9 +++++++--
>  2 files changed, 13 insertions(+), 5 deletions(-)
>
> diff --git a/man/man1/notmuch-reply.1 b/man/man1/notmuch-reply.1
> index 454bdee..bf2021f 100644
> --- a/man/man1/notmuch-reply.1
> +++ b/man/man1/notmuch-reply.1
> @@ -89,9 +89,12 @@ user's addresses.
>  
>  Decrypt any MIME encrypted parts found in the selected content
>  (ie. "multipart/encrypted" parts). Status of the decryption will be
> -reported (currently only supported with --format=json and --format=sexp)
> -and the multipart/encrypted part will be replaced by the decrypted
> -content.
> +reported (currently only supported with --format=json and
> +--format=sexp) and on successful decryption the multipart/encrypted
> +part will be replaced by the decrypted content.
> +
> +Decryption expects a functioning \fBgpg-agent\fR(1) to provide any
> +needed credentials. Without one, the decryption will fail.
>  .RE
>  
>  See \fBnotmuch-search-terms\fR(7)
> diff --git a/man/man1/notmuch-show.1 b/man/man1/notmuch-show.1
> index 8be9eae..7697dfc 100644
> --- a/man/man1/notmuch-show.1
> +++ b/man/man1/notmuch-show.1
> @@ -163,8 +163,13 @@ will be replaced by the signed data.
>  Decrypt any MIME encrypted parts found in the selected content
>  (ie. "multipart/encrypted" parts). Status of the decryption will be
>  reported (currently only supported with --format=json and
> ---format=sexp) and the multipart/encrypted part will be replaced
> -by the decrypted content.  Implies --verify.
> +--format=sexp) and on successful decryption the multipart/encrypted
> +part will be replaced by the decrypted content.
> +
> +Decryption expects a functioning \fBgpg-agent\fR(1) to provide any
> +needed credentials. Without one, the decryption will fail.
> +
> +Implies --verify.
>  .RE
>  
>  .RS 4
> -- 
> 1.7.10.4

LGTM.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20130301/0e781de7/attachment.pgp>


More information about the notmuch mailing list