summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/args.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d03f7576..6ed13547 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- gurpmi
+ o add support for --clean
- urpmi.update, urpmi.addmedia, urpmi.removemedia:
o do not check wether the media are valid,
it allows "mv /etc/urpmi/urpmi.cfg.{backup,} ; urpmi.update -a" to work
diff --git a/urpm/args.pm b/urpm/args.pm
index fb785cd6..35a3068c 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -410,7 +410,7 @@ sub add_urpmf_parameter {
# common options setup
-foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'force', 'expect-install!', 'justdb', 'no-priority-upgrade', 'noscripts', 'replacefiles', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!', 'update',
+foreach my $k ('allow-medium-change', 'auto', 'auto-select', 'clean', 'force', 'expect-install!', 'justdb', 'no-priority-upgrade', 'noscripts', 'replacefiles', 'p', 'P', 'previous-priority-upgrade=s', 'root=s', 'test!', 'verify-rpm!', 'update',
'split-level=s', 'split-length=s')
{
$options_spec{gurpmi}{$k} = $options_spec{urpmi}{$k};