mirror of https://github.com/YosysHQ/yosys.git
Fixed "show -format ..." command line parsing
This commit is contained in:
parent
6626aad29a
commit
e6dca3445a
|
@ -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") {
|
||||||
|
|
Loading…
Reference in New Issue