[pacman-dev] [PATCH 5/6] pacman-key: print default gpgdir in usage

Pang Yan Han pangyanhan at gmail.com
Sat May 28 10:37:35 EDT 2011


Signed-off-by: Pang Yan Han <pangyanhan at gmail.com>
---
 scripts/pacman-key.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index c092989..e795aad 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -56,7 +56,7 @@ usage() {
 	echo
 	echo "$(gettext "Options must be placed before commands. The available options are:")"
 	printf "$(gettext "  --config <file>  Use an alternate config file (instead of '%s')")\n" "$CONFIG"
-	echo "$(gettext "  --gpgdir         Set an alternate directory for gnupg")"
+	printf "$(gettext "  --gpgdir         Set an alternate directory for gnupg (instead of '%s')")\n" "$PACMAN_KEYRING_DIR"
 	echo
 	echo "$(gettext "The available commands are:")"
 	echo "$(gettext "  -a, --add [<file(s)>]     Add the specified keys (empty for stdin)")"
-- 
1.7.5.rc0.101.g3d23c



More information about the pacman-dev mailing list