From add3361e94bcf7cea947a7d0847443635f85ff75 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 5 Dec 2003 20:29:19 +0000 Subject: fixed small options being blocking long options. --- urpmi.removemedia | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urpmi.removemedia') 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] ... where is a medium name to remove. ") . N(" --help - print this help message. -- cgit v1.2.1