diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-04-15 11:59:35 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-04-15 11:59:35 +0200 |
commit | e6dca3445a67d3d3cfacd85684e05b3f5722af46 (patch) | |
tree | 494b0f6b989a7d5a1ab51dc6c67fceac024a3e62 /kernel | |
parent | 6626aad29a75cc9e14507f235d555d17a8d96cfc (diff) | |
download | yosys-e6dca3445a67d3d3cfacd85684e05b3f5722af46.tar.gz yosys-e6dca3445a67d3d3cfacd85684e05b3f5722af46.tar.bz2 yosys-e6dca3445a67d3d3cfacd85684e05b3f5722af46.zip |
Fixed "show -format ..." command line parsing
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/show.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/show.cc b/kernel/show.cc index 572ba5896..fd703dd53 100644 --- a/kernel/show.cc +++ b/kernel/show.cc @@ -520,7 +520,7 @@ struct ShowPass : public Pass { continue; } if (arg == "-format" && argidx+1 < args.size()) { - format = atoi(args[++argidx].c_str()); + format = args[++argidx]; continue; } if (arg == "-width") { |