[pacman-dev] [PATCH] Add -s --sign and -v --verify to repo-add usage message.

Dan McGee dpmcgee at gmail.com
Fri Mar 25 18:16:27 EDT 2011


On Fri, Mar 25, 2011 at 5:14 PM, Ray Kohler <ataraxia937 at gmail.com> wrote:
> There were not added to the end of the list as that would mean
> splitting the single gettext string that contains -f and the
> "see the man page" message, and I wanted to do as little string
> damage as possible.

Do string damage, it is a major release. But more importantly,
repo-remove --help is going to show these and we might want to try and
avoid that- I think the reason they weren't added here.

> Signed-off-by: Ray Kohler <ataraxia937 at gmail.com>
> ---
>  scripts/repo-add.sh.in |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in
> index 9b57ba7..3d6d0c7 100644
> --- a/scripts/repo-add.sh.in
> +++ b/scripts/repo-add.sh.in
> @@ -74,6 +74,11 @@ repo-remove will update a package database by removing the package name\n\
>  specified on the command line from the given repo database. Multiple\n\
>  packages to remove can be specified on the command line.\n\n")"
>        printf "$(gettext "\
> +Use the -s/--sign flag to sign the database with GnuPG after updating.\n\n")"
> +       printf "$(gettext "\
> +Use the -v/--verify flag to verify the GnuPG signature of the database\n\
> +before updating.\n\n")"
> +       printf "$(gettext "\
>  Use the -q/--quiet flag to minimize output to basic messages, warnings,\n\
>  and errors.\n\n")"
>        printf "$(gettext "\
> --
> 1.7.4.1
>
>
>


More information about the pacman-dev mailing list