summaryrefslogtreecommitdiffstats
path: root/urpmi
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi')
-rwxr-xr-xurpmi11
1 files changed, 2 insertions, 9 deletions
diff --git a/urpmi b/urpmi
index 9fbbb013..26312f38 100755
--- a/urpmi
+++ b/urpmi
@@ -63,15 +63,8 @@ $ENV{HOME} ||= "/root";
$ENV{USER} ||= "root";
sub usage () {
- print N("urpmi version %s
-%s
-This is free software and may be redistributed under the terms of the GNU GPL.
-
-usage:
-", $urpm::VERSION,
- N("Copyright (C) %s by %s", "1999-2010", "Mandriva") .
- N("Copyright (C) %s by %s", "2011-2012", "Mageia")
- ) . N(" --help - print this help message.
+ print urpm::args::copyright('urpmi', [ '1999-2010', 'Mandriva' ], [ '2011-2012', 'Mageia' ])
+ . N(" --help - print this help message.
") . N(" --media - use only the given media, separated by comma.
") . N(" --excludemedia - do not use the given media, separated by comma.
") . N(" --update - use only update media.