summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-03-27 00:20:05 +1000
committerDan McGee <dan@archlinux.org>2012-03-29 16:49:22 -0500
commited353d91b7fe5ab397cc6c649ceca2f0ea507023 (patch)
tree682e3d43d93f219d405cb7b6a69b35a4a006edc3
parent1eeab12228b1d133b40ec44ac47b318379331deb (diff)
downloadpacman-ed353d91b7fe5ab397cc6c649ceca2f0ea507023.tar.xz
pacman-key: make the -e option work as advertised
Using -e without arguments failed to export all keys. Using --export worked as expected. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--scripts/pacman-key.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 3ea8947f..695b46b9 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -460,7 +460,7 @@ if ! type gettext &>/dev/null; then
}
fi
-OPT_SHORT="a::d:e:f::hl::r:uv:V"
+OPT_SHORT="a::d:e::f::hl::r:uv:V"
OPT_LONG="add::,config:,delete:,edit-key:,export::,finger::,gpgdir:"
OPT_LONG+=",help,import:,import-trustdb:,init,keyserver:,list-keys::,list-sigs::"
OPT_LONG+=",lsign-key:,populate::,recv-keys:,refresh-keys::,updatedb"