* Fix `--from-profile'.

This commit is contained in:
Eelco Dolstra 2008-09-18 09:08:54 +00:00
parent f32fef1b07
commit fa61ee70ee

View file

@ -1407,10 +1407,12 @@ void run(Strings args)
globals.instSource.systemFilter = needArg(i, args, arg);
else {
remaining.push_back(arg);
if (arg[0] == '-')
if (arg[0] == '-') {
opFlags.push_back(arg);
else
opArgs.push_back(arg);
if (arg == "--from-profile") { /* !!! hack */
if (i != args.end()) opFlags.push_back(*i++);
}
} else opArgs.push_back(arg);
}
if (oldOp && oldOp != op)