summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-03 12:50:35 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-03 12:50:35 +0000
commit471cbdf53eb00c292cb426b3f6978a513ae18989 (patch)
tree7d7a6e187afd96de4948b8e381f59db12f680146 /urpmi.removemedia
parent95219b3451a5a6365849eaf7a6c4610c21ef9e4a (diff)
downloadurpmi-471cbdf53eb00c292cb426b3f6978a513ae18989.tar
urpmi-471cbdf53eb00c292cb426b3f6978a513ae18989.tar.gz
urpmi-471cbdf53eb00c292cb426b3f6978a513ae18989.tar.bz2
urpmi-471cbdf53eb00c292cb426b3f6978a513ae18989.tar.xz
urpmi-471cbdf53eb00c292cb426b3f6978a513ae18989.zip
*** empty log message ***
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, $_;
}