mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Options: Do not output full usage on --test error
...mostly because the usage output is very long and the actual useful error message scrolls off the screen.
This commit is contained in:
parent
07b869e645
commit
55655f5ea1
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ Options parse_cmdline(int argc, char** argv)
|
||||||
fprintf(stderr, "ERROR: C++ unit tests are disabled for this build.\n"
|
fprintf(stderr, "ERROR: C++ unit tests are disabled for this build.\n"
|
||||||
" Please re-compile with ENABLE_ZEEK_UNIT_TESTS "
|
" Please re-compile with ENABLE_ZEEK_UNIT_TESTS "
|
||||||
"to run the C++ unit tests.\n");
|
"to run the C++ unit tests.\n");
|
||||||
usage(argv[0], 1);
|
exit(1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
auto is_separator = [](const char* cstr)
|
auto is_separator = [](const char* cstr)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue