From: Stephen L Johnson Date: Wed, 27 Sep 2000 04:10:48 +0000 (+0000) Subject: change debug param to optional instead of mandatory X-Git-Tag: spong-2_7_0-beta1~16 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a49f14eec4838dfe6eddbdc25052f12f4a60b7e;p=spong.git change debug param to optional instead of mandatory --- diff --git a/src/spong-network.pl b/src/spong-network.pl index fc1275e..a421ba6 100755 --- a/src/spong-network.pl +++ b/src/spong-network.pl @@ -40,7 +40,7 @@ srand( time() ^ ($$ + ($$ << 15 )) ); $debug = $restart = $kill = 0; -if ( ! GetOptions("debug=i" => \$debuglevel, "restart" => \$restart, +if ( ! GetOptions("debug:i" => \$debuglevel, "restart" => \$restart, "kill" => \$kill, "nosleep|refresh" => \$nosleep ) ) { &usage(); exit 1;