summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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