diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-10 17:14:59 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-10 17:14:59 +0000 |
commit | 41357e3ca21ef691ed2355f9791eedf3cdb01852 (patch) | |
tree | dcbdedd67165dcac6bf4bf2916fee4f682db36ee /urpm | |
parent | 7da1761ffc439091494688387f0b2599e08b01f2 (diff) | |
download | urpmi-41357e3ca21ef691ed2355f9791eedf3cdb01852.tar urpmi-41357e3ca21ef691ed2355f9791eedf3cdb01852.tar.gz urpmi-41357e3ca21ef691ed2355f9791eedf3cdb01852.tar.bz2 urpmi-41357e3ca21ef691ed2355f9791eedf3cdb01852.tar.xz urpmi-41357e3ca21ef691ed2355f9791eedf3cdb01852.zip |
New tool, urpmi.recover
Diffstat (limited to 'urpm')
-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}; |