aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/init.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/init.pm')
-rw-r--r--Rpmdrake/init.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rpmdrake/init.pm b/Rpmdrake/init.pm
index eeb14f10..06415980 100644
--- a/Rpmdrake/init.pm
+++ b/Rpmdrake/init.pm
@@ -37,8 +37,11 @@ our @EXPORT = qw(init
$changelog_first
$default_list_mode
%rpmdrake_options
+ @ARGV_copy
);
+our @ARGV_copy = @ARGV;
+
BEGIN { #- we want to run this code before the Gtk->init of the use-my_gtk
my $basename = sub { local $_ = shift; s|/*\s*$||; s|.*/||; $_ };
any { /^--?h/ } @ARGV and do {