Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   ArchLinux Pacman Development (http://www.linux-archive.org/archlinux-pacman-development/)
-   -   Renamed --trust to --edit-key (http://www.linux-archive.org/archlinux-pacman-development/505806-renamed-trust-edit-key.html)

Richard Alex Hofer 03-26-2011 09:37 AM

Renamed --trust to --edit-key
 
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@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

Ray Kohler 03-26-2011 03:44 PM

Renamed --trust to --edit-key
 
On Sat, Mar 26, 2011 at 6:37 AM, Richard Alex Hofer
<atomic.quark@gmail.com> wrote:
> 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.

You should update the manpage also.

Denis A. Altoé Falqueto 03-26-2011 06:19 PM

Renamed --trust to --edit-key
 
On Sat, Mar 26, 2011 at 1:44 PM, Ray Kohler <ataraxia937@gmail.com> wrote:
> On Sat, Mar 26, 2011 at 6:37 AM, Richard Alex Hofer
> <atomic.quark@gmail.com> wrote:
>> 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.
>
> You should update the manpage also.
>
>

Hi, guys.

First, you are very welcome to help! But, I must say that I've already
done that :) I merged some easy todo items in one commit, so you maybe
didn't saw that exact subject on the mailing list. But here it is:

http://mailman.archlinux.org/pipermail/pacman-dev/2011-February/012457.html

Please, continue helping, we all appreciate it. There are some pending
issues. Just ask first, so you don't spend time for something already
done.

--
A: Because it obfuscates the reading.
Q: Why is top posting so bad?

-------------------------------------------
Denis A. Altoe Falqueto
Linux user #524555
-------------------------------------------


All times are GMT. The time now is 07:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.