Skip to content

Commit 5f2a221

Browse files
authored
Attempt to fix docs adding --strict-escape to CLI help and main yara docs (VirusTotal#2077)
1 parent 7cf3d2f commit 5f2a221

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/commandline.rst

+6
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,12 @@ Available options are:
148148

149149
Scan files listed in FILE, one per line.
150150

151+
.. option:: --strict-escape
152+
153+
Print warnings if a string contains an invalid escape sequence.
154+
155+
.. versionadded:: 4.5.0
156+
151157
.. option:: -z <size> --skip-larger=<size>
152158

153159
Skip files larger than the given <size> in bytes when scanning a directory.

yara.man

+3
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,9 @@ in bytes when scanning a directory.
103103
Set maximum stack size to the specified number of
104104
.I slots.
105105
.TP
106+
.BI " --strict-escape"
107+
Print warnings if rules contain ambiguous escape statements.
108+
.TP
106109
.BI \-t " tag" " --tag=" tag
107110
Print rules tagged as
108111
.I tag

0 commit comments

Comments
 (0)