[pacman-dev] [PATCH] Renamed --trust to --edit-key

Richard Alex Hofer atomic.quark at gmail.com
Sat Mar 26 06:37:46 EDT 2011


Hi, I'm very new here, but hope this saves someone a minute or two.  
Fixes the first thing on the TODO list "TODO: rename the --trust option 
to --edit-key".  Tried sending this before, but I think I messed 
something up.  Also, looks like the date is way off.

 From fb1fe43baa5e46de09d102a29669de250bd4d065 Mon Sep 17 00:00:00 2001
From: Richard A Hofer <atomic.quark at gmail.com>
Date: Fri, 25 Mar 2011 17:39:30 -0400
Subject: [PATCH] Renamed --trust to --edit-key and -t to -k (for Key)

---
  scripts/pacman-key.sh.in |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 5746e64..bb05429 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -66,7 +66,7 @@ usage() {
      echo "$(gettext "  -h, --help                This help")"
      echo "$(gettext "  -l, --list                List keys")"
      echo "$(gettext "  -r, --receive <keyserver> <keyid(s)> Fetch the 
specified keyids")"
-    echo "$(gettext "  -t, --trust <keyid(s)>    Set the trust level of 
the given keyids")"
+    echo "$(gettext "  -k, --edit-key <keyid(s)>    Set the trust level 
of the given keyids")"
      echo "$(gettext "  -u, --updatedb            Update the trustdb of 
pacman")"
      echo "$(gettext "  -V, --version             Show program version")"
      echo "$(gettext "  --adv <params>            Use pacman's keyring 
with advanced gpg commands")"
@@ -290,7 +290,7 @@ case "${command}" in
          shift
          ${GPG_PACMAN} --keyserver "${keyserver}" --recv-keys "$@"
          ;;
-    -t|--trust)
+    -k|--edit-key)
          if (( $# == 0 )); then
              error "$(gettext "You need to specify at least one key 
identifier")"
              exit 1
-- 
1.7.4.1


More information about the pacman-dev mailing list