diff --git a/docs/commandline.rst b/docs/commandline.rst index 714060c937..67e566cbf5 100644 --- a/docs/commandline.rst +++ b/docs/commandline.rst @@ -148,6 +148,12 @@ Available options are: Scan files listed in FILE, one per line. +.. option:: --strict-escape + + Print warnings if a string contains an invalid escape sequence. + + .. versionadded:: 4.5.0 + .. option:: -z --skip-larger= Skip files larger than the given in bytes when scanning a directory. diff --git a/yara.man b/yara.man index 657619cc6f..4f244f3fed 100644 --- a/yara.man +++ b/yara.man @@ -103,6 +103,9 @@ in bytes when scanning a directory. Set maximum stack size to the specified number of .I slots. .TP +.BI " --strict-escape" +Print warnings if rules contain ambiguous escape statements. +.TP .BI \-t " tag" " --tag=" tag Print rules tagged as .I tag