diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-01 17:08:07 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-01 17:08:07 +0000 |
commit | 14c94292388f2d1d61165e6fe999a7e508859e5a (patch) | |
tree | ad00f5217bf0659784ffd28fdfde81212dfca086 /urpmi | |
parent | aec086fafb83acedeff96b72403a82e1dccd6588 (diff) | |
download | urpmi-14c94292388f2d1d61165e6fe999a7e508859e5a.tar urpmi-14c94292388f2d1d61165e6fe999a7e508859e5a.tar.gz urpmi-14c94292388f2d1d61165e6fe999a7e508859e5a.tar.bz2 urpmi-14c94292388f2d1d61165e6fe999a7e508859e5a.tar.xz urpmi-14c94292388f2d1d61165e6fe999a7e508859e5a.zip |
(copyright) factorize a translated string
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 11 |
1 files changed, 2 insertions, 9 deletions
@@ -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. |