diff options
Diffstat (limited to 'urpm/args.pm')
-rw-r--r-- | urpm/args.pm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm index ab0d7863..4bc5b425 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -313,6 +313,14 @@ my %options_spec = ( }, }, + 'urpmi.recover' => { + 'list=s' => \$::listdate, + 'list-all' => sub { $::listdate = -1 }, + checkpoint => \$::do_checkpoint, + 'rollback=s' => \$::rollback, + noclean => \$::noclean, + }, + ); # generate urpmf options callbacks @@ -370,6 +378,10 @@ foreach my $k ("help|h", "wget", "curl", "proxy=s", "proxy-user=s", "c", "f", "z $options_spec{'urpmi.addmedia'}{$k} = $options_spec{'urpmi.update'}{$k}; } +foreach my $k ("help|h", "version") { + $options_spec{'urpmi.recover'}{$k} = $options_spec{urpmi}{$k}; +} + sub parse_cmdline { my %args = @_; $urpm = $args{urpm}; |