logger: clean up doc
authorEddie Hung <eddie@fpgeh.com>
Thu, 14 May 2020 17:38:31 +0000 (10:38 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 14 May 2020 17:38:31 +0000 (10:38 -0700)
passes/cmds/logger.cc

index 64f939525856a97cd0d0841d96685b96fc1bb375..50b89d92fb065ca70a09eebb3eb8971f7f23385e 100644 (file)
@@ -58,7 +58,8 @@ struct LoggerPass : public Pass {
                log("        do not print warnings for the specified experimental feature\n");
                log("\n");
                log("    -expect <type> <regex> <expected_count>\n");
-               log("        expect log,warning or error to appear. In case of error return code is 0.\n");
+               log("        expect log, warning or error to appear. matched errors will terminate\n");
+               log("        with exit code 0.\n");
                log("\n");
                log("    -expect-no-warnings\n");
                log("        gives error in case there is at least one warning that is not expected.\n");