Changeset 16803


Ignore:
Timestamp:
06/10/13 17:23:28 (11 years ago)
Author:
tbretz
Message:
If the first argument does contain an equal sign consider it to be the first argument rather than the filename.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/tools.cc

    r15167 r16803  
    244244    }
    245245
    246     opt = *it++;
     246    opt = string(*it).find_first_of('=')==string::npos ? *it++ : "";
    247247
    248248    map<string,string> rc;
Note: See TracChangeset for help on using the changeset viewer.