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

Ray Kohler ataraxia937 at gmail.com
Fri Mar 25 18:14:11 EDT 2011


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.

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