[pacman-dev] [PATCH 1/7] makepkg, pacman-key: unify help message with other scripts

ivan.kanak at gmail.com ivan.kanak at gmail.com
Thu Apr 21 09:59:05 EDT 2011

From: Ivan Kanakarakis <ivan.kanak at gmail.com>

The help message changed to match the one rankmirrors script has.
It's clearer as to what the --help switch does.

Signed-off-by: Ivan Kanakarakis <ivan.kanak at gmail.com>
 scripts/makepkg.sh.in    |    2 +-
 scripts/pacman-key.sh.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 70d3cf3..3d5184a 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -1607,7 +1607,7 @@ usage() {
 	echo "$(gettext "  -e, --noextract  Do not extract source files (use existing src/ dir)")"
 	echo "$(gettext "  -f, --force      Overwrite existing package")"
 	echo "$(gettext "  -g, --geninteg   Generate integrity checks for source files")"
-	echo "$(gettext "  -h, --help       This help")"
+	echo "$(gettext "  -h, --help       Show this help message and exit")"
 	echo "$(gettext "  -i, --install    Install package after successful build")"
 	echo "$(gettext "  -L, --log        Log package build process")"
 	echo "$(gettext "  -m, --nocolor    Disable colorized output messages")"
diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in
index 89e52fc..82268c9 100644
--- a/scripts/pacman-key.sh.in
+++ b/scripts/pacman-key.sh.in
@@ -63,7 +63,7 @@ usage() {
 	echo "$(gettext "  -d, --del <keyid(s)>      Remove the specified keyids")"
 	echo "$(gettext "  -e, --export <keyid(s)>   Export the specified keyids")"
 	echo "$(gettext "  -f, --finger [<keyid(s)>] List fingerprint for specified or all keyids")"
-	echo "$(gettext "  -h, --help                This help")"
+	echo "$(gettext "  -h, --help                Show this help message and exit")"
 	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")"

More information about the pacman-dev mailing list