From: Clifford Wolf Date: Wed, 4 Jun 2014 07:10:50 +0000 (+0200) Subject: Improved error message for options after front-end filename arguments X-Git-Tag: yosys-0.3.0~13 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f9c1cd5edba5acb4d9b9dd287c7265111cf22087;p=yosys.git Improved error message for options after front-end filename arguments --- diff --git a/frontends/verilog/verilog_frontend.cc b/frontends/verilog/verilog_frontend.cc index 8e9efa173..108214586 100644 --- a/frontends/verilog/verilog_frontend.cc +++ b/frontends/verilog/verilog_frontend.cc @@ -48,7 +48,7 @@ struct VerilogFrontend : public Frontend { { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---| log("\n"); - log(" read_verilog [filename]\n"); + log(" read_verilog [options] [filename]\n"); log("\n"); log("Load modules from a verilog file to the current design. A large subset of\n"); log("Verilog-2005 is supported.\n"); diff --git a/kernel/register.cc b/kernel/register.cc index 5d882ab43..8da5a725f 100644 --- a/kernel/register.cc +++ b/kernel/register.cc @@ -270,6 +270,10 @@ void Frontend::extra_args(FILE *&f, std::string &filename, std::vector