summaryrefslogtreecommitdiffstats
path: root/urpmi.removemedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-10-25 07:58:56 +0000
committerFrancois Pons <fpons@mandriva.com>2002-10-25 07:58:56 +0000
commit9b0551b8268d4c755d6090f18665ff97036abf44 (patch)
tree7cb6c11e15d12457e42b513a6dce1c40cab7f7e4 /urpmi.removemedia
parent8621a2d4e8b5f15dfc8cf87182899f83702c6275 (diff)
downloadurpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar.gz
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar.bz2
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.tar.xz
urpmi-9b0551b8268d4c755d6090f18665ff97036abf44.zip
4.0-22mdk
Diffstat (limited to 'urpmi.removemedia')
-rwxr-xr-xurpmi.removemedia3
1 files changed, 2 insertions, 1 deletions
diff --git a/urpmi.removemedia b/urpmi.removemedia
index a3bd9381..c7eac093 100755
--- a/urpmi.removemedia
+++ b/urpmi.removemedia
@@ -33,9 +33,10 @@ sub main {
/^--?c/ and $options{noclean} = 0, next;
/^-/ and die _("usage: urpmi.removemedia [-a] <name> ...
where <name> is a medium name to remove.
+") . _(" --help - print this help message.
") . _(" -a - select all media.
") . _(" -c - clean headers cache directory.
-") . _("\nunknown options '%s'\n", $_);
+") . (/^--?h(?:elp)$/ ? _("\nunknown options '%s'\n", $_) : '');
push @toremoves, $_;
}