summaryrefslogtreecommitdiffstats
path: root/gurpmi.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 23:31:03 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 23:31:03 +0000
commitb5be8bfc6330e6bf162a520ef12583c1f6904450 (patch)
tree7ef8c3b2a241c34eb6439a758127b9219354e68f /gurpmi.pm
parentd76aab988d5af06bab7e2ac4c43b5952cc2e377b (diff)
downloadurpmi-b5be8bfc6330e6bf162a520ef12583c1f6904450.tar
urpmi-b5be8bfc6330e6bf162a520ef12583c1f6904450.tar.gz
urpmi-b5be8bfc6330e6bf162a520ef12583c1f6904450.tar.bz2
urpmi-b5be8bfc6330e6bf162a520ef12583c1f6904450.tar.xz
urpmi-b5be8bfc6330e6bf162a520ef12583c1f6904450.zip
factorize Copyright string
rationale: - easier to maintain in the long term - help syncing translations
Diffstat (limited to 'gurpmi.pm')
-rw-r--r--gurpmi.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gurpmi.pm b/gurpmi.pm
index 6c002812..e32b8e62 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -37,11 +37,12 @@ urpm::select::add_packages_to_priority_upgrade_list('gurpmi', 'perl-Glib', 'perl
sub usage () {
print N("urpmi version %s
-Copyright (C) 1999-2010 Mandriva.
+%s
This is free software and may be redistributed under the terms of the GNU GPL.
usage:
-", $urpm::VERSION) . " gurpmi <rpm> [ <rpm>... ]
+", $urpm::VERSION, N("Copyright (C) %s by %s", "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.