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

Dan McGee dpmcgee at gmail.com
Wed Jun 1 13:27:22 EDT 2011


On Sat, May 28, 2011 at 9:37 AM, Pang Yan Han <pangyanhan at gmail.com> wrote:
> Signed-off-by: Pang Yan Han <pangyanhan at gmail.com>
Thanks!

> ---
>  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