summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-11-21 15:39:18 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-11-21 15:39:18 +0000
commitc404eebc3587c7b817572b463fd03fd3ff2d627a (patch)
tree2d44f971f466c2df1961f26e9c6b0f6794b9de02 /urpm/args.pm
parent7e00dfda9d83233da812be9c669cb83c28466301 (diff)
downloadurpmi-c404eebc3587c7b817572b463fd03fd3ff2d627a.tar
urpmi-c404eebc3587c7b817572b463fd03fd3ff2d627a.tar.gz
urpmi-c404eebc3587c7b817572b463fd03fd3ff2d627a.tar.bz2
urpmi-c404eebc3587c7b817572b463fd03fd3ff2d627a.tar.xz
urpmi-c404eebc3587c7b817572b463fd03fd3ff2d627a.zip
bring back urpmi.recover :)
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index d5e584cc..76229cb7 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -351,6 +351,17 @@ my %options_spec = (
nopubkey => \$options{nopubkey},
raw => \$options{raw},
},
+
+ 'urpmi.recover' => {
+ 'list=s' => \$::listdate,
+ 'list-all' => sub { $::listdate = -1 },
+ 'list-safe' => sub { $::listdate = 'checkpoint' },
+ checkpoint => \$::do_checkpoint,
+ 'rollback=s' => \$::rollback,
+ noclean => \$::noclean,
+ disable => \$::disable,
+ },
+
);
eval