diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-18 08:05:41 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-11-18 08:05:41 +0000 |
commit | 0f881eacc9dd3d36486097322c189d0737b56154 (patch) | |
tree | 39cb844678231df9c0e83661ef1f00d783426a55 /perl-install/standalone/drakconnect | |
parent | 7f7d2c8b9facf43f657214501cfe0aef8a3a5481 (diff) | |
download | drakx-0f881eacc9dd3d36486097322c189d0737b56154.tar drakx-0f881eacc9dd3d36486097322c189d0737b56154.tar.gz drakx-0f881eacc9dd3d36486097322c189d0737b56154.tar.bz2 drakx-0f881eacc9dd3d36486097322c189d0737b56154.tar.xz drakx-0f881eacc9dd3d36486097322c189d0737b56154.zip |
- standalone.pm :
o make it be 'use strict' aware
o factorize options managment in one place
- standalone tools :
o they all now support -h|--help -v|--version, ...
o they can add their own options to %standalone::usages
- harddrake : use std --testing/$::testing rather than its own
--test option
Diffstat (limited to 'perl-install/standalone/drakconnect')
-rwxr-xr-x | perl-install/standalone/drakconnect | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index a4930e616..5a9e897d8 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -36,11 +36,8 @@ use network::adsl; use MDK::Common::Globals "network", qw($in $prefix $disconnect_file $connect_prog $connect_file $disconnect_file); my $xpm_path = "/usr/share/libDrakX/pixmaps"; -$::isWizard = "@ARGV" =~ /--wizard/; -$::expert = "@ARGV" =~ /--expert/; local $_ = join '', @ARGV; - -#/-h/ and die "usage: drakconnect[--xf3] [--beginner] [--expert] [--auto] [--noauto] [--skiptest] [--testing]\n"; +$::isWizard = /--wizard/; my $netcnx = {}; my $netc = {}; |