summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update7
1 files changed, 6 insertions, 1 deletions
diff --git a/urpmi.update b/urpmi.update
index a5ff2627..7d0e012c 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -39,7 +39,12 @@ sub main {
/^--?c/ and $options{noclean} = 0, next;
/^--?f/ and $options{force} = 1, next;
/^--?noa/ and next; #- default, keeped for compability.
- /^-/ and die sprintf(_("unknown options \"%s\"\n"), $_);
+ /^-/ and die sprintf(
+_("usage: urpmi.update [-a] <name> ...
+where <name> is a medium name to update.
+ -a select all non-removable media.
+
+unknown options \"%s\"\n"), $_);
push @toupdates, $_;
}