3 @@ -539,7 +539,7 @@ bool CommandLine::Parse(int argc, char *argv[])
4 list<string> *filenames;
5 filenames = new list<string>;
7 - if (argv[0][0] == '-')
8 + if (argv[0][0] == '-' && argv[0][1] == '\0')
12 @@ -550,6 +550,8 @@ bool CommandLine::Parse(int argc, char *argv[])
17 + filenames->push_back(argv[0]);
19 list<string>::iterator fn = filenames->begin();
20 while (fn != filenames->end())