diff options
author | Clifford Wolf <clifford@clifford.at> | 2015-01-31 23:52:36 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2015-01-31 23:52:36 +0100 |
commit | fb8c7557264e15060913b0f90f2081795f39c5ec (patch) | |
tree | 53287a624b847fbfab5e136fa2f88fd8ac2bb92d /backends | |
parent | 8dfa105255be4fd84a39df6c4913b5ff3cc1dc80 (diff) | |
download | yosys-fb8c7557264e15060913b0f90f2081795f39c5ec.tar.gz yosys-fb8c7557264e15060913b0f90f2081795f39c5ec.tar.bz2 yosys-fb8c7557264e15060913b0f90f2081795f39c5ec.zip |
Shorter "dump" options
Diffstat (limited to 'backends')
-rw-r--r-- | backends/ilang/ilang_backend.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/ilang/ilang_backend.cc b/backends/ilang/ilang_backend.cc index 80e429e91..814d3e8fe 100644 --- a/backends/ilang/ilang_backend.cc +++ b/backends/ilang/ilang_backend.cc @@ -430,10 +430,10 @@ struct DumpPass : public Pass { log(" -n\n"); log(" only dump the module headers if the entire module is selected\n"); log("\n"); - log(" -outfile <filename>\n"); + log(" -o <filename>\n"); log(" write to the specified file.\n"); log("\n"); - log(" -append <filename>\n"); + log(" -a <filename>\n"); log(" like -outfile but append instead of overwrite\n"); log("\n"); } @@ -446,12 +446,12 @@ struct DumpPass : public Pass { for (argidx = 1; argidx < args.size(); argidx++) { std::string arg = args[argidx]; - if (arg == "-outfile" && argidx+1 < args.size()) { + if ((arg == "-o" || arg == "-outfile") && argidx+1 < args.size()) { filename = args[++argidx]; append = false; continue; } - if (arg == "-append" && argidx+1 < args.size()) { + if ((arg == "-a" || arg == "-append") && argidx+1 < args.size()) { filename = args[++argidx]; append = true; continue; |