Add help() call
authorEddie Hung <eddie@fpgeh.com>
Fri, 16 Aug 2019 20:00:12 +0000 (13:00 -0700)
committerEddie Hung <eddie@fpgeh.com>
Fri, 16 Aug 2019 20:00:12 +0000 (13:00 -0700)
passes/pmgen/test_pmgen.cc

index 5f7bf2189b8bfe1953c9a16642494f77079bc795..94e59f62eb6b845ef4e94f24177c87ef111b04ad 100644 (file)
@@ -302,6 +302,7 @@ struct TestPmgenPass : public Pass {
                        if (args[1] == "-generate")
                                return execute_generate(args, design);
                }
+               help();
                log_cmd_error("Missing or unsupported mode parameter.\n");
        }
 } TestPmgenPass;