summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia7
1 files changed, 6 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia
index d68c230f..c4f8f706 100755
--- a/urpmi.removemedia
+++ b/urpmi.removemedia
@@ -35,7 +35,12 @@ sub main {
foreach (@_) {
/^--?a/ and $options{all} = 1, next;
- /^-/ and die sprintf(_("unknown options \"%s\"\n"), $_);
+ /^-/ and die sprintf(
+_("usage: urpmi.removemedia [-a] <name> ...
+where <name> is a medium name to remove.
+ -a select all media.
+
+unknown options \"%s\"\n"), $_);
push @toremoves, $_;
}