[Forensics-changes] [yara] 106/192: Fix wrong examples in the documentation.

Hilko Bengen bengen at moszumanska.debian.org
Sat Jul 1 10:31:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

bengen pushed a commit to annotated tag v3.6.0
in repository yara.

commit 007553a3789f1987985411017d9ad12f03f21191
Author: plusvic <plusvic at gmail.com>
Date:   Fri Feb 24 09:36:53 2017 +0100

    Fix wrong examples in the documentation.
---
 docs/commandline.rst | 6 +++---
 yara.man             | 8 +++-----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/docs/commandline.rst b/docs/commandline.rst
index d626bbe..759df10 100644
--- a/docs/commandline.rst
+++ b/docs/commandline.rst
@@ -111,10 +111,10 @@ Available options are:
 
 Here you have some examples:
 
-* Apply rules in */foo/bar/rules1* and */foo/bar/rules2* to all files in the
-  current directory. Subdirectories are not scanned::
+* Apply rule in */foo/bar/rules* to all files in the current directory.
+  Subdirectories are not scanned::
 
-    yara /foo/bar/rules1 /foo/bar/rules2 .
+    yara /foo/bar/rules  .
 
 * Apply rules in */foo/bar/rules* to *bazfile*. Only reports rules tagged as
   *Packer* or *Compiler*::
diff --git a/yara.man b/yara.man
index 22e6414..4420f01 100644
--- a/yara.man
+++ b/yara.man
@@ -81,13 +81,11 @@ Treat warnings as errors. Has no effect if used with
 .B \-v " --version"
 Show version information.
 .SH EXAMPLES
-$ yara /foo/bar/rules1 /foo/bar/rules2 .
+$ yara /foo/bar/rules .
 .RS
 .PP
 Apply rules on
-.I /foo/bar/rules1
-and
-.I /foo/bar/rules2
+.I /foo/bar/rules
 to all files on current directory. Subdirectories are not scanned.
 .RE
 .PP
@@ -104,7 +102,7 @@ or
 .I Compiler.
 .RE
 .PP
-$ cat /foo/bar/rules1 | yara -r /foo
+$ cat /foo/bar/rules | yara -r /foo
 .RS
 .PP
 Scan all files in the

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/forensics/yara.git



More information about the forensics-changes mailing list