summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.