diff options
author | Francois Pons <fpons@mandriva.com> | 2003-12-05 20:29:19 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-12-05 20:29:19 +0000 |
commit | add3361e94bcf7cea947a7d0847443635f85ff75 (patch) | |
tree | 68e49339a35a72fdefe8cd78b7a205bdb546187e | |
parent | 610cdafe75afb6a9d4a62e4570fa185e4734d377 (diff) | |
download | urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar.gz urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar.bz2 urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.tar.xz urpmi-add3361e94bcf7cea947a7d0847443635f85ff75.zip |
fixed small options being blocking long options.
-rwxr-xr-x | urpmi.removemedia | 4 |
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. |