diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-13 13:45:39 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-13 13:45:39 +0000 |
commit | 8158d198245e3cfc6326169368da5bea62779476 (patch) | |
tree | cfaa85adc5731dd8b78413a7c19d7ddaaac477e0 | |
parent | 492dbb0457aa9dae3dffbdba31337290b8191380 (diff) | |
download | urpmi-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-- | NEWS | 1 | ||||
-rw-r--r-- | gurpmi.pm | 8 |
2 files changed, 7 insertions, 2 deletions
@@ -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 @@ -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 |