mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Convert a lot of command line arguments to snake case (#498)
* Convert a lot of variables to snake case * Add snakecase for variables made out of two words that had it in no version yet (for consistency) * Adjust example files too --------- Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
This commit is contained in:
parent
77cc250561
commit
086c4ab48b
13 changed files with 83 additions and 83 deletions
|
|
@ -9,26 +9,26 @@ csaf_downloader [OPTIONS] domain...
|
|||
Application Options:
|
||||
-d, --directory=DIR DIRectory to store the downloaded files in
|
||||
--insecure Do not check TLS certificates from provider
|
||||
--ignoresigcheck Ignore signature check results, just warn on mismatch
|
||||
--client-cert=CERT-FILE TLS client certificate file (PEM encoded data)
|
||||
--client-key=KEY-FILE TLS client private key file (PEM encoded data)
|
||||
--client-passphrase=PASSPHRASE Optional passphrase for the client cert (limited, experimental, see doc)
|
||||
--ignore_sigcheck Ignore signature check results, just warn on mismatch
|
||||
--client_cert=CERT-FILE TLS client certificate file (PEM encoded data)
|
||||
--client_key=KEY-FILE TLS client private key file (PEM encoded data)
|
||||
--client_passphrase=PASSPHRASE Optional passphrase for the client cert (limited, experimental, see doc)
|
||||
--version Display version of the binary
|
||||
-n, --nostore Do not store files
|
||||
-n, --no_store Do not store files
|
||||
-r, --rate= The average upper limit of https operations per second (defaults to unlimited)
|
||||
-w, --worker=NUM NUMber of concurrent downloads (default: 2)
|
||||
-t, --timerange=RANGE RANGE of time from which advisories to download
|
||||
-t, --time_range=RANGE RANGE of time from which advisories to download
|
||||
-f, --folder=FOLDER Download into a given subFOLDER
|
||||
-i, --ignorepattern=PATTERN Do not download files if their URLs match any of the given PATTERNs
|
||||
-i, --ignore_pattern=PATTERN Do not download files if their URLs match any of the given PATTERNs
|
||||
-H, --header= One or more extra HTTP header fields
|
||||
--validator=URL URL to validate documents remotely
|
||||
--validatorcache=FILE FILE to cache remote validations
|
||||
--validatorpreset=PRESETS One or more PRESETS to validate remotely (default: [mandatory])
|
||||
-m, --validationmode=MODE[strict|unsafe] MODE how strict the validation is (default: strict)
|
||||
--forwardurl=URL URL of HTTP endpoint to forward downloads to
|
||||
--forwardheader= One or more extra HTTP header fields used by forwarding
|
||||
--forwardqueue=LENGTH Maximal queue LENGTH before forwarder (default: 5)
|
||||
--forwardinsecure Do not check TLS certificates from forward endpoint
|
||||
--validator_cache=FILE FILE to cache remote validations
|
||||
--validator_preset=PRESETS One or more PRESETS to validate remotely (default: [mandatory])
|
||||
-m, --validation_mode=MODE[strict|unsafe] MODE how strict the validation is (default: strict)
|
||||
--forward_url=URL URL of HTTP endpoint to forward downloads to
|
||||
--forward_header= One or more extra HTTP header fields used by forwarding
|
||||
--forward_queue=LENGTH Maximal queue LENGTH before forwarder (default: 5)
|
||||
--forward_insecure Do not check TLS certificates from forward endpoint
|
||||
--logfile=FILE FILE to log downloading to (default: downloader.log)
|
||||
--loglevel=LEVEL[debug|info|warn|error] LEVEL of logging details (default: info)
|
||||
-c, --config=TOML-FILE Path to config TOML file
|
||||
|
|
@ -65,13 +65,13 @@ insecure = false
|
|||
ignoresigcheck = false
|
||||
# rate # set to unlimited
|
||||
worker = 2
|
||||
# timerange # not set by default
|
||||
# time_range # not set by default
|
||||
# folder # not set by default
|
||||
# ignorepattern # not set by default
|
||||
# ignore_pattern # not set by default
|
||||
# header # not set by default
|
||||
# validator # not set by default
|
||||
# validatorcache # not set by default
|
||||
validatorpreset = ["mandatory"]
|
||||
# validator_cache # not set by default
|
||||
validator_preset = ["mandatory"]
|
||||
validation_mode = "strict"
|
||||
# forward_url # not set by default
|
||||
# forward_header # not set by default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue