]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
add help/usage
authorJason Ish <ish@unx.ca>
Fri, 7 Apr 2017 17:06:30 +0000 (11:06 -0600)
committerJason Ish <ish@unx.ca>
Mon, 1 May 2017 21:36:43 +0000 (15:36 -0600)
run.sh

diff --git a/run.sh b/run.sh
index 36977a9bd0ac6c8949927a8fd9b7ed8f5da992f0..388f117259545eb73f3163d7d49151922fdece30 100755 (executable)
--- a/run.sh
+++ b/run.sh
@@ -34,7 +34,23 @@ for arg in $@; do
            force=yes
            shift
            ;;
-       -)
+       -h)
+           cat <<EOF
+
+usage: $0 [options] [test-pattern]
+
+options:
+    -c     continue on failed test
+    -v     verbose output (stderr and stdout to terminal, not file)
+    -f     run tests that would other be skipped
+
+To only run specific tests and pattern can be provided. For example, a
+pattern of "dnp3" will run all tests with "dnp3" in the name.
+
+EOF
+           exit 0
+           ;;
+       -*)
            echo "error: unknown argument: ${arg}"
            exit 1
            ;;