Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: improve wording in gpg completion

William da Silva wrote on Fri, 25 Aug 2017 14:31 +0000:
> diff --git a/Completion/Unix/Command/_gpg b/Completion/Unix/Command/_gpg
> index fe6084f20..44db5e039 100644
> --- a/Completion/Unix/Command/_gpg
> +++ b/Completion/Unix/Command/_gpg
> @@ -26,7 +26,7 @@ fi
>  [[ $service = gpgv ]] || args+=(
>    '(-e --encrypt)'{-e,--encrypt}'[encrypt data. this option may be
> combined  with --sign]'

As you see, your MUA wrapped lines hard, which breaks patches.  When
sending patches, either disable line wrapping and whitespace mangling or
send the patches as attachments named *.txt.

>    {-d,--decrypt}'[decrypt file or stdin]'
> -  '(-c --symmetric)'{-c,--symmetric}'[encrypt with symmetric cypher only]'
> +  '(-c --symmetric)'{-c,--symmetric}'[encrypt with symmetric cipher only]'

The man page uses the "cipher" spelling so okay.

> -  '--fast-import[import a file without build trustdb]:_files
> attachment:_files'
> +  '--fast-import[import a file without adding to trust database]:_files

"trustdb" is used as a noun in the man page so I think we should use it as a
noun here, too.  I've omitted this and committed the rest with a tweak to
--edit-key.  Thanks for the patch!


Messages sorted by: Reverse Date, Date, Thread, Author