BSD grep on OSX and FreeBSD does not provide the same options as GNU
grep which prevent using them for multiline search.
This diff uses only python regex to avoid this incompatibility.
As a bonus, it runs about 3x faster.
Depends on D2694
Differential D2695
[LINTER] Fix check doc incompatibility with BSD grep Fabien on Mar 16 2019, 10:07. Authored by
Details
BSD grep on OSX and FreeBSD does not provide the same options as GNU Depends on D2694 Should return no error: arc lint In src/init.cpp delete the line 1279: logger.m_print_to_console = gArgs.GetBoolArg("-printtoconsole", false); Then run arc lint and check the linter outputs an Unknown argument '-printtoconsole' is documented but not used' Restore the previously deleted line in src/init.cpp and now delete the strUsage += HelpMessageOpt( "-printtoconsole", _("Send trace/debug info to console instead of debug.log file")); Then run arc lint and check the linter outputs an Undocumented '-printtoconsole' is undocumented'
Diff Detail
Event Timeline |