Skip to content

Commit

Permalink
Attempt to fix docs adding --strict-escape to CLI help and main yara …
Browse files Browse the repository at this point in the history
…docs (#2077)
  • Loading branch information
tlansec authored May 18, 2024
1 parent 7cf3d2f commit 5f2a221
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/commandline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <size> --skip-larger=<size>

Skip files larger than the given <size> in bytes when scanning a directory.
Expand Down
3 changes: 3 additions & 0 deletions yara.man
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f2a221

Please sign in to comment.