summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-03-13 13:45:39 +0000
committerThierry Vignaud <tv@mandriva.org>2008-03-13 13:45:39 +0000
commit8158d198245e3cfc6326169368da5bea62779476 (patch)
treecfaa85adc5731dd8b78413a7c19d7ddaaac477e0
parent492dbb0457aa9dae3dffbdba31337290b8191380 (diff)
downloadurpmi-8158d198245e3cfc6326169368da5bea62779476.tar
urpmi-8158d198245e3cfc6326169368da5bea62779476.tar.gz
urpmi-8158d198245e3cfc6326169368da5bea62779476.tar.bz2
urpmi-8158d198245e3cfc6326169368da5bea62779476.tar.xz
urpmi-8158d198245e3cfc6326169368da5bea62779476.zip
(usage) translate header (modulo s/^g// in urpmi)
-rw-r--r--NEWS1
-rw-r--r--gurpmi.pm8
2 files changed, 7 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 9ee86fff..a12e959b 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,7 @@
o return urpmi error code
o handle --force
o return 1 like urpmi if package doesn't exist
+ o translate usage
Version 5.11 - 11 March 2008, by Pascal "Pixel" Rigaux
diff --git a/gurpmi.pm b/gurpmi.pm
index ef39285d..739d02f7 100644
--- a/gurpmi.pm
+++ b/gurpmi.pm
@@ -36,9 +36,13 @@ our @EXPORT = qw(create_scrolled_window fatal but quit add_button_box new_label
urpm::select::add_packages_to_priority_upgrade_list('gurpmi');
sub usage () {
+ print N("urpmi version %s
+Copyright (C) 1999-2006 Mandriva.
+This is free software and may be redistributed under the terms of the GNU GPL.
+
+usage:
+", $urpm::VERSION);
print <<USAGE;
-gurpmi version $urpm::VERSION
-Usage :
gurpmi <rpm> [ <rpm>... ]
Options :
--auto