Browse Source

BUG: When a "wrong argument" was detected, we call the WrongArgument handler. If the handler returns success, the argument parsing should continue. Currently, it was stopping parsing immediately after the wrong argument was processed, irrespective of the WrongArgument handler status. Fixed that.

Utkarsh Ayachit 19 years ago
parent
commit
fbfd05a308
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Source/kwsys/CommandLineArguments.cxx

+ 0 - 1
Source/kwsys/CommandLineArguments.cxx

@@ -306,7 +306,6 @@ int CommandLineArguments::Parse()
           this->Internals->LastArgument --;
           return 0;
           }
-        return 1;
         }
       else if ( this->StoreUnusedArgumentsFlag )
         {