summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index a4c9528e..09e02504 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -83,10 +83,10 @@ and [options] are from
$options{probe_with} = 'synthesis'; #- no the default is to probe synthesis file.
my $urpm = new urpm;
while ($_ = shift @_) {
- /^--?c/ and $options{noclean} = 0, next;
- /^--?h/ and next;
- /^--?f/ and ++$options{force}, next;
- /^-z$/ and ++$options{compress}, next;
+ /^--?c$/ and $options{noclean} = 0, next;
+ /^--?h$/ and next;
+ /^--?f$/ and ++$options{force}, next;
+ /^--?z$/ and ++$options{compress}, next;
/^--wget/ and $urpm->{sync} = sub { my $options = shift @_;
if (ref $options) { $options->{prefer} = 'wget' }
else { $options = { dir => $options, prefer => 'wget' } }