Changeset 12425


Ignore:
Timestamp:
2006-08-09T15:39:39+12:00 (18 years ago)
Author:
mdewsnip
Message:

Fixed a bug where buildcol would try to continue when invalid arguments were passed in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/buildcol.pl

    r12342 r12425  
    228228    # general options available to all plugins
    229229    my $intArgLeftinAfterParsing = parse2::parse(\@ARGV,$arguments,$hashParsingResult,"allow_extra_options");
     230
    230231    # If there are more than one argument left after parsing, it mean user input too many arguments.
    231232    # Error occoured  will return 0
    232     if($intArgLeftinAfterParsing > 1)
     233    if ($intArgLeftinAfterParsing != 1)
    233234    {
    234235    $blnParseFailed = "true";
Note: See TracChangeset for help on using the changeset viewer.