Ignore:
Timestamp:
Nov 19, 2008, 11:37:11 PM (13 years ago)
Author:
Peter
Message:

Fixed bug in CommandLine? how --no-switches are handled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/OptionSwitch.cc

    r1487 r1634  
    4040                              const std::vector<std::string>::iterator& last)
    4141  {   
    42     if (long_name().size()>3 && long_name().substr(0,3)=="no-")
     42    if (first->size()>3 && first->substr(0,3)=="no-")
    4343      switch_=false;
    4444    else
Note: See TracChangeset for help on using the changeset viewer.