summaryrefslogtreecommitdiffstats
path: root/gurpmi
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-10 08:44:42 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-10 08:44:42 +0000
commitff41b04bab7bfa0001849aa7f3c79d835a0d4138 (patch)
treea5ce71886e589e9dd6d1c8f60695e2b88a771338 /gurpmi
parent527e71e2bbd83580a528d6cc8dd9a82b1a7d12f5 (diff)
downloadurpmi-ff41b04bab7bfa0001849aa7f3c79d835a0d4138.tar
urpmi-ff41b04bab7bfa0001849aa7f3c79d835a0d4138.tar.gz
urpmi-ff41b04bab7bfa0001849aa7f3c79d835a0d4138.tar.bz2
urpmi-ff41b04bab7bfa0001849aa7f3c79d835a0d4138.tar.xz
urpmi-ff41b04bab7bfa0001849aa7f3c79d835a0d4138.zip
factorize --version and --help handling
Diffstat (limited to 'gurpmi')
-rwxr-xr-xgurpmi2
1 files changed, 2 insertions, 0 deletions
diff --git a/gurpmi b/gurpmi
index 6a7899bd..48d783c5 100755
--- a/gurpmi
+++ b/gurpmi
@@ -14,6 +14,8 @@ BEGIN { #- set up a safe path and environment
use Gtk2;
use gurpmi;
+sub usage() { gurpmi::usage() }
+
#- globals
my ($srpms, $rpms) = ([], []);
my ($mainw, $mainbox);