diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-11-09 11:02:20 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-11-09 11:02:20 +0100 |
commit | 1e0f6b5ddbfc3a7bc30f2537decf45654e7f1524 (patch) | |
tree | fb85b0c0a95accfc503f2b5a32015b45a96698bb /kernel/driver.cc | |
parent | a112b1093444429a1a55a90b73c58c8b7ffee1bc (diff) | |
download | yosys-1e0f6b5ddbfc3a7bc30f2537decf45654e7f1524.tar.gz yosys-1e0f6b5ddbfc3a7bc30f2537decf45654e7f1524.tar.bz2 yosys-1e0f6b5ddbfc3a7bc30f2537decf45654e7f1524.zip |
Added "yosys -qq" to also quiet warning messages
Diffstat (limited to 'kernel/driver.cc')
-rw-r--r-- | kernel/driver.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/driver.cc b/kernel/driver.cc index 8164fef28..7f466839c 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -141,6 +141,8 @@ int main(int argc, char **argv) } break; case 'q': + if (log_errfile == stderr) + log_quiet_warnings = true; log_errfile = stderr; break; case 'v': @@ -170,7 +172,8 @@ int main(int argc, char **argv) fprintf(stderr, " suppress printing of footer (log hash, version, timing statistics)\n"); fprintf(stderr, "\n"); fprintf(stderr, " -q\n"); - fprintf(stderr, " quiet operation. only write error messages to console\n"); + fprintf(stderr, " quiet operation. only write warnings and error messages to console\n"); + fprintf(stderr, " use this option twice to also quiet warning messages\n"); fprintf(stderr, "\n"); fprintf(stderr, " -v <level>\n"); fprintf(stderr, " print log headers up to level <level> to the console. (implies -q)\n"); |