summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-01 17:08:07 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-01 17:08:07 +0000
commit14c94292388f2d1d61165e6fe999a7e508859e5a (patch)
treead00f5217bf0659784ffd28fdfde81212dfca086 /gurpmi.pm
parentaec086fafb83acedeff96b72403a82e1dccd6588 (diff)
downloadurpmi-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 'gurpmi.pm')
-rw-r--r--gurpmi.pm9
1 files changed, 2 insertions, 7 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 554988f1..0992fa9d 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -36,13 +36,8 @@ our @EXPORT = qw(create_scrolled_window fatal but cancel_n_quit quit add_button_
urpm::select::add_packages_to_priority_upgrade_list('gurpmi', 'perl-Glib', 'perl-Gtk2');
sub usage () {
- print N("gurpmi 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")
- ) . " gurpmi <rpm> [ <rpm>... ]
+ print urpm::args::copyright('gurpmi', [ '1999-2010', 'Mandriva' ])
+ . " gurpmi <rpm> [ <rpm>... ]
" . N("Options:") . "\n"
. N(" --help - print this help message.
") . N(" --auto - non-interactive mode, assume default answers to questions.