Lines Matching full:argval
42 string argval = (*argv)[index];
44 if (argval[0] != '-' || argval == "-")
46 while (argval[0] == '-')
47 argval = argval.substr(1); // remove initial '-'s
49 string arg = argval;
52 // split argval (arg=val) into arg and val
53 size_t pos = argval.find("=");
55 arg = argval.substr(0, pos);
56 val = argval.substr(pos + 1);