Changeset 10337


Ignore:
Timestamp:
2005-07-28T11:29:44+12:00 (19 years ago)
Author:
kjdon
Message:

changed the intArgLeftinAfterParsing \!= 1 to > 1 - otherwise -xml flag doesn't work

Location:
trunk/gsdl/bin/script
Files:
2 edited

Legend:

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

    r10256 r10337  
    201201    # If there are more than one argument left after parsing, it mean user input too many arguments.
    202202    # Error occoured  will return 0
    203     if($intArgLeftinAfterParsing != 1)
     203    if($intArgLeftinAfterParsing > 1)
    204204    {
    205205    $blnParseFailed = "true";
  • trunk/gsdl/bin/script/import.pl

    r10255 r10337  
    234234    # general options available to all plugins
    235235    my $intArgLeftinAfterParsing = parse2::parse(\@ARGV,$arguments,$hashParsingResult,"allow_extra_options");
    236     # If there are more than one argument left after parsing, it mean user input too many arguments.
    237     # Error occoured  will return 0
    238     if($intArgLeftinAfterParsing != 1)
     236    # If there is more than one argument left after parsing, it mean user input too many arguments.
     237    if($intArgLeftinAfterParsing > 1)
    239238    {
    240239    &PrintUsage::print_txt_usage($options, "{import.params}");
Note: See TracChangeset for help on using the changeset viewer.