zsh-workers
 help / color / mirror / code / Atom feed
From: William da Silva <w.vigolodasilva@gmail.com>
To: zsh-workers@zsh.org
Subject: PATCH: improve wording in gpg completion
Date: Fri, 25 Aug 2017 14:31:29 +0000	[thread overview]
Message-ID: <CA+Jfsb98DdZB19UXS+RkBqTLzKRxtnOZkgWXX0-sC04NCVMQRw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2906 bytes --]

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]'

             reply	other threads:[~2017-08-25 14:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25 14:31 William da Silva [this message]
2017-08-25 15:31 ` Daniel Shahaf
2017-08-25 15:58   ` William da Silva

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+Jfsb98DdZB19UXS+RkBqTLzKRxtnOZkgWXX0-sC04NCVMQRw@mail.gmail.com \
    --to=w.vigolodasilva@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).