From 14c94292388f2d1d61165e6fe999a7e508859e5a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 1 Sep 2012 17:08:07 +0000 Subject: (copyright) factorize a translated string --- urpmf | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'urpmf') diff --git a/urpmf b/urpmf index a6b6ab37..24261b0e 100755 --- a/urpmf +++ b/urpmf @@ -26,15 +26,7 @@ use urpm::msg; use urpm::media; sub usage() { - print N("urpmf version %s -%s -This is free software and may be redistributed under the terms of the GNU GPL. - -usage: urpmf [options] pattern-expression -", $urpm::VERSION, - N("Copyright (C) %s by %s", "2002-2010", "Mandriva") . - N("Copyright (C) %s by %s", "2012", "Mageia") - ) + print urpm::args::copyright('urpmf', [ '2002-2010', 'Mandriva' ], [ '2011-2012', 'Mageia' ]) . N(" --help - print this help message. ") . N(" --version - print this tool's version number. ") . N(" --env - use specific environment (typically a bug report). -- cgit v1.2.1