Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: improve wording in gpg completion
- X-seq: zsh-workers 41602
- From: William da Silva <w.vigolodasilva@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: improve wording in gpg completion
- Date: Fri, 25 Aug 2017 14:31:29 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=DPfQXKmFv40oLi34qk60tTqJJ8zQ5eARDQaLMwtoKGg=; b=B5nPNDqKnBmF5XEEdWirqJvzdrgsufDRRmQQIu34OKxqQeJZdtM1dOAHcYNuRrEA7t 6G2cVm1go5At5g+hkg/w9ROlHVhtFBYrTtzK6P8CQe/Mx5d6SjUjGl+wjRzVyKOyN4d0 HdFD/+cb5rMLkMI9tpD2Hd/AE+S07AZUziI8G7gKOby4J4UxT2KcD8OXOBVgEkV1zz1X vSHQx7qTHsf+zyDqcJGObccPaxsW37wtnOMk70dnnJ9VBlR2IutxSSLic5/KSFUi2DVv 9b4dg9IaxZgdE5PbjmzK8OCbOHjrlKQpoB3ugotZPhGHGklA+lQPSySuQFmlzoHnyGGm imkg==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
I noticed a few of the hints for GPG completions that were somewhat
inconsistent or grammatically incorrect.
This patch aims to improve those.
Thanks,
William
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]'
{-d,--decrypt}'[decrypt file or stdin]'
- '(-c --symmetric)'{-c,--symmetric}'[encrypt with symmetric cypher only]'
+ '(-c --symmetric)'{-c,--symmetric}'[encrypt with symmetric cipher only]'
'(-s --sign)'{-s,--sign}'[make a signature]'
'*'{-r+,--recipient}'[specify user to encrypt
for]:recipient:->public-keys'
'(-u --local-user)'{-u+,--local-user}'[use name as the user ID to
sign]:user attachment:_users'
@@ -52,7 +52,7 @@ fi
'--fingerprint[list all keys with their fingerprints]:key
attachment:->public-keys'
'--list-packets[list only the sequence of packets]'
'--gen-key[generate a new pair key]'
- '--edit-key[a menu for edit yours keys]:key attachment:->public-keys'
+ '--edit-key[a menu for editing your keys]:key attachment:->public-keys'
'--sign-key[sign a key]:key attachment:->public-keys'
'--lsign-key[sign a key but mark as non-exportable]:key
attachment:->public-keys'
'--delete-keys[remove key from public keyring]:key
attachment:->public-keys'
@@ -60,12 +60,12 @@ fi
'--delete-secret-and-public-keys:key attachment:->secret-keys'
'--gen-revoke[generate a revocation certificate]'
'--desig-revoke[generate a designated revocation certificate]'
- '--export[export all key from all keyrings]'
+ '--export[export all keys from all keyrings]'
'--send-keys[send keys to a keyserver]:key attachment:->public-keyids'
'--export-secret-keys:key attachment:->secret-keys'
'--export-secret-subkeys:key attachment:->secret-keys'
'--import[import a gpg key from a file]:_files attachment:_files'
- '--fast-import[import a file without build trustdb]:_files
attachment:_files'
+ '--fast-import[import a file without adding to trust database]:_files
attachment:_files'
'--fetch-keys[fetch key at URIs]:uri:'
'--recv-keys[receive a list of keys from a keyserver]:key
attachment:->public-keyids'
'--refresh-keys[update all keys from a keyserver]'
@@ -82,7 +82,7 @@ fi
'--gen-random:count' '--gen-prime'
'--warranty[print warranty info]'
'(-a --armor)'{-a,--armor}'[create ASCII armored output]'
- '--default-key[specify default user-id for signatures]:key:->secret-keys'
+ '--default-key[specify default user ID for signatures]:key:->secret-keys'
'--default-recipient[specify default recipient]:recipient:->public-keys'
'--default-recipient-self[use default key as default recipient]'
'--no-default-recipient[reset default recipient]'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author