From b5be8bfc6330e6bf162a520ef12583c1f6904450 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 23:31:03 +0000 Subject: factorize Copyright string rationale: - easier to maintain in the long term - help syncing translations --- urpmq | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'urpmq') diff --git a/urpmq b/urpmq index b2ff3545..e6bb1083 100755 --- a/urpmq +++ b/urpmq @@ -38,12 +38,14 @@ our @src_names; sub usage() { print N("urpmq version %s -Copyright (C) 2000-2010 Mandriva. -Copyright (C) 2012 Mageia. +%s This is free software and may be redistributed under the terms of the GNU GPL. usage: -", $urpm::VERSION) . N(" --help - print this help message. +", $urpm::VERSION, + N("Copyright (C) %s by %s", '2000-2010', 'Mandriva') . + N("Copyright (C) %s by %s", '2012', 'Mandriva') + ) . N(" --help - print this help message. ") . N(" --update - use only update media. ") . N(" --media - use only the given media, separated by comma. ") . N(" --searchmedia - use only the given media to search requested (or updated) packages. -- cgit v1.2.1