From: Juliana Fajardini Date: Fri, 5 Jul 2024 15:19:52 +0000 (-0300) Subject: README: keep help text up-to-date w/ actual help X-Git-Tag: suricata-7.0.7~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4eb98aa7c8fb307b29ca0a3796a30c900355bb78;p=thirdparty%2Fsuricata-verify.git README: keep help text up-to-date w/ actual help There were discrepancies between the help text shown by the createst script and the version shown in the README file. I've kept the bit longer explanation for some of the options where it feels they're not so straightforward in meaning. --- diff --git a/README.md b/README.md index bc10c6a8f..f2477dcbb 100644 --- a/README.md +++ b/README.md @@ -197,10 +197,10 @@ This needs to be run from a valid Suricata source directory. ### Usage ``` -usage: createst.py [-h] [--output-path ] [--eventtype-only] - [--allow-events [ALLOW_EVENTS]] [--rules ] - [--strictcsums] [--min-version ] - [--midstream] +usage: createst.py [-h] [--rules ] [--output-path ] + [--eventtype-only] [--allow-events [ALLOW_EVENTS]] [--strictcsums] + [--midstream] [--min-version ] [--version ] + [--cfg ] [--features ] Create tests with a given PCAP. Execute the script from a valid Suricata source @@ -210,13 +210,11 @@ positional arguments: Name of the test folder Path to the PCAP file -optional arguments: +options: -h, --help show this help message and exit - --rules - Path to rules file (optional) + --rules Path to rule file --output-path - Path to the folder where generated test.yaml should be - put + Path to the folder where generated test.yaml should be put --eventtype-only Create filter blocks based on event types only This means the subfields of the event in the eve log will not be added to the test.yaml file @@ -229,9 +227,12 @@ optional arguments: --midstream Allow midstream session pickups --min-version Adds a global minimum required version - --version Adds a global version requirement - --cfg Add a suricata.yaml to the test - --features [FEATS] Required features (comma separated list) + --version + Adds a global suricata version + --cfg + Adds a suricata.yaml to the test + --features + Adds specified features ``` ### Examples