summaryrefslogtreecommitdiff
path: root/lib/poptQV.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-11-10 00:50:41 +0000
committerjbj <devnull@localhost>2004-11-10 00:50:41 +0000
commit910c42099e33c725937ec9c78460aa8bafb0ccd0 (patch)
treeed4c6bc09586efcf7ff7c9931021ab75e91ac159 /lib/poptQV.c
parent20ed3220672daf608e930791a5ded2d3bf892269 (diff)
downloadlibrpm-tizen-910c42099e33c725937ec9c78460aa8bafb0ccd0.tar.gz
librpm-tizen-910c42099e33c725937ec9c78460aa8bafb0ccd0.tar.bz2
librpm-tizen-910c42099e33c725937ec9c78460aa8bafb0ccd0.zip
- add --delsign to purge packages of digital signatures.
CVS patchset: 7569 CVS date: 2004/11/10 00:50:41
Diffstat (limited to 'lib/poptQV.c')
-rw-r--r--lib/poptQV.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/poptQV.c b/lib/poptQV.c
index e83809a1a..216d1ca27 100644
--- a/lib/poptQV.c
+++ b/lib/poptQV.c
@@ -46,6 +46,7 @@ static void rpmQVSourceArgCallback( /*@unused@*/ poptContext con,
case 'Q': /* from --querytags (handled by poptALL) */
case 'V': /* from --verify, -V */
case 'A': /* from --addsign */
+ case 'D': /* from --delsign */
case 'I': /* from --import */
case 'K': /* from --checksig, -K */
case 'R': /* from --resign */
@@ -399,6 +400,8 @@ struct poptOption rpmSignPoptTable[] = {
N_("sign package(s) (identical to --resign)"), NULL },
{ "checksig", 'K', 0, NULL, 'K',
N_("verify package signature(s)"), NULL },
+ { "delsign", '\0', 0, NULL, 'D',
+ N_("delete package signatures"), NULL },
{ "import", '\0', 0, NULL, 'I',
N_("import an armored public key"), NULL },
{ "resign", '\0', 0, NULL, 'R',