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 --- urpme | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'urpme') diff --git a/urpme b/urpme index a806921c..1612af7d 100755 --- a/urpme +++ b/urpme @@ -38,15 +38,8 @@ my $yesexpr = N("Yy"); sub usage() { - print N("urpme 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", "2012", "Mageia") - ) . N(" --help - print this help message. + print urpm::args::copyright('urpme', [ '1999-2010', 'Mandriva' ], [ '2012', 'Mageia' ]) + . N(" --help - print this help message. ") . N(" --auto - automatically select a package in choices. ") . N(" --auto-orphans - remove orphans ") . N(" --test - verify if the removal can be achieved correctly. -- cgit v1.2.1