diff --git a/doc/repo-add.8.asciidoc b/doc/repo-add.8.asciidoc index 9b903ab1..dc6e0baf 100644 --- a/doc/repo-add.8.asciidoc +++ b/doc/repo-add.8.asciidoc @@ -54,7 +54,7 @@ Common Options *-v, \--verify*:: Verify the PGP signature of the database before updating the database. If the signature is invalid, an error is produced and the update does not - proceed. + proceed. This implicitly enabled signing. *\--nocolor*:: Remove color from 'repo-add' and 'repo-remove' output. diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index 4656f270..56e403ce 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -631,6 +631,7 @@ while true; do GPGKEY=$1 ;; -v|--verify) + SIGN=1 VERIFY=1 ;; -p|--prevent-downgrade)