diff --git a/docs/commandline.rst b/docs/commandline.rst index 714060c9..67e566cb 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 657619cc..4f244f3f 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