]> git.etc.gen.nz Git - spong.git/commitdiff
change debug param to optional instead of mandatory
authorStephen L Johnson <sjohnson@monsters.org>
Wed, 27 Sep 2000 04:10:48 +0000 (04:10 +0000)
committerStephen L Johnson <sjohnson@monsters.org>
Wed, 27 Sep 2000 04:10:48 +0000 (04:10 +0000)
src/spong-network.pl

index fc1275eb6a1cd36aa52c740c8c74432b1d21a3d6..a421ba696e4a67c44a0c38e72f9744ee217ccf36 100755 (executable)
@@ -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;