Fixed "show -format ..." command line parsing

This commit is contained in:
Clifford Wolf 2013-04-15 11:59:35 +02:00
parent 6626aad29a
commit e6dca3445a
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ struct ShowPass : public Pass {
continue; continue;
} }
if (arg == "-format" && argidx+1 < args.size()) { if (arg == "-format" && argidx+1 < args.size()) {
format = atoi(args[++argidx].c_str()); format = args[++argidx];
continue; continue;
} }
if (arg == "-width") { if (arg == "-width") {