summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-12-05 20:29:19 +0000
committerFrancois Pons <fpons@mandriva.com>2003-12-05 20:29:19 +0000
commitadd3361e94bcf7cea947a7d0847443635f85ff75 (patch)
tree68e49339a35a72fdefe8cd78b7a205bdb546187e /urpmi.removemedia
parent610cdafe75afb6a9d4a62e4570fa185e4734d377 (diff)
downloadurpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar
urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar.gz
urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar.bz2
urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar.xz
urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.zip
fixed small options being blocking long options.
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia
index 82fac4f7..9783879c 100755
--- a/urpmi.removemedia
+++ b/urpmi.removemedia
@@ -26,8 +26,8 @@ sub main {
$options{noclean} = 1;
foreach (@_) {
- /^--?a/ and $options{all} = 1, next;
- /^--?c/ and $options{noclean} = 0, next;
+ /^--?a$/ and $options{all} = 1, next;
+ /^--?c$/ and $options{noclean} = 0, next;
/^-/ and die N("usage: urpmi.removemedia [-a] <name> ...
where <name> is a medium name to remove.
") . N(" --help - print this help message.