summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-04 12:50:27 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-04 12:50:27 +0000
commit33bc8d8b7d99e6ff008cb0cc8e8f4db6c5d08776 (patch)
treeed7c6488b38dd7af25c2b30d1c0ace29c0941d1d /urpmi.update
parent970a93180754c424ae8b6f3888dbd6918427748e (diff)
downloadurpmi-33bc8d8b7d99e6ff008cb0cc8e8f4db6c5d08776.tar
urpmi-33bc8d8b7d99e6ff008cb0cc8e8f4db6c5d08776.tar.gz
urpmi-33bc8d8b7d99e6ff008cb0cc8e8f4db6c5d08776.tar.bz2
urpmi-33bc8d8b7d99e6ff008cb0cc8e8f4db6c5d08776.tar.xz
urpmi-33bc8d8b7d99e6ff008cb0cc8e8f4db6c5d08776.zip
4.4-31mdk
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.update b/urpmi.update
index 962a431b..c2f008fb 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -30,8 +30,8 @@ sub main {
while ($_ = shift @_) {
/^--?a/ and $options{all} = 1, next;
/^--?c/ and $options{noclean} = 0, next;
- /^--?d/ and $options{depslist} = 1, next;
/^--?f/ and ++$options{force}, next;
+ /^-z$/ and ++$options{compress}, next;
/^--update$/ and $options{update} = 1, next;
/^--wget$/ and $urpm->{sync} = sub { my $options = shift @_;
if (ref $options) { $options->{prefer} = 'wget' }
@@ -55,6 +55,7 @@ sub main {
};
/^--no-md5sum/ and $options{nomd5sum} = 1, next;
/^--?noa/ and next; #- default, keeped for compability.
+ /^--?d/ and next; #- default, keeped for compability.
/^-/ and die N("usage: urpmi.update [options] <name> ...
where <name> is a medium name to update.
") . N(" --help - print this help message.
@@ -68,7 +69,6 @@ where <name> is a medium name to update.
") . N(" --update - update only update media.
") . N(" -a - select all non-removable media.
") . N(" -c - clean headers cache directory.
-") . N(" -d - force complete computation of depslist.ordered file.
") . N(" -f - force generation of hdlist files.
") . (/^--?h(?:elp)$/ ? '' : N("\nunknown options '%s'\n", $_));
push @toupdates, $_;