summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq11
1 files changed, 2 insertions, 9 deletions
diff --git a/urpmq b/urpmq
index e6bb1083..12364bb5 100755
--- a/urpmq
+++ b/urpmq
@@ -37,15 +37,8 @@ our @names;
our @src_names;
sub usage() {
- print N("urpmq 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", '2000-2010', 'Mandriva') .
- N("Copyright (C) %s by %s", '2012', 'Mandriva')
- ) . N(" --help - print this help message.
+ print urpm::args::copyright('urpmq', $urpm::VERSION, [ '2000-2010', 'Mandriva' ], [ '2012', 'Mageia' ])
+ . N(" --help - print this help message.
") . N(" --update - use only update media.
") . N(" --media - use only the given media, separated by comma.
") . N(" --searchmedia - use only the given media to search requested (or updated) packages.