Skip to content

Commit

Permalink
Fix description for --skip-larger command-line option.
Browse files Browse the repository at this point in the history
  • Loading branch information
plusvic committed Oct 29, 2021
1 parent 99da5cd commit 6284650
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/yara.c
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ args_option_t options[] = {
'z',
_T("skip-larger"),
&skip_larger,
_T("used with --recursive skip files larger than the given limit"),
_T("skip files larger than the given size when scanning a directory"),
_T("NUMBER")),

OPT_INTEGER(
Expand Down
2 changes: 1 addition & 1 deletion docs/commandline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Available options are:

.. option:: -z <size> --skip-larger=<size>

When used with --recursive, skip files larger than the given <size>.
Skip files larger than the given <size> in bytes when scanning a directory.

.. versionadded:: 4.2.0

Expand Down
4 changes: 2 additions & 2 deletions yara.man
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,9 @@ Scan files in directories recursively. It follows symlinks.
Scan files listed in FILE, one per line.
.TP
.BI \-z " size" " --skip-larger=" size
Used with --recursive skip files larger than the given
Skip files larger than the given
.I size
in bytes.
in bytes when scanning a directory.
.TP
.BI \-k " slots" " --stack-size=" slots
Set maximum stack size to the specified number of
Expand Down

0 comments on commit 6284650

Please sign in to comment.