mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
doc: improve rate default documentation (#364)
* doc: improve rate default documentation solve #359 * Adjust downloader doc, too. * doc(csaf_checker): Add missing phrase, correct spelling * docs(csaf_checker): correct format mistake --------- Co-authored-by: Sascha L. Teichmann <sascha.teichmann@intevation.de> Co-authored-by: tschmidtb51 <65305130+tschmidtb51@users.noreply.github.com>
This commit is contained in:
parent
3590cf1ef2
commit
8ad805e1e5
5 changed files with 6 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ type options struct {
|
|||
ClientKey *string `long:"client-key" description:"TLS client private key file (PEM encoded data)" value-name:"KEY-FILE"`
|
||||
Version bool `long:"version" description:"Display version of the binary"`
|
||||
Verbose bool `long:"verbose" short:"v" description:"Verbose output"`
|
||||
Rate *float64 `long:"rate" short:"r" description:"The average upper limit of https operations per second"`
|
||||
Rate *float64 `long:"rate" short:"r" description:"The average upper limit of https operations per second (defaults to unlimited)"`
|
||||
Years *uint `long:"years" short:"y" description:"Number of years to look back from now" value-name:"YEARS"`
|
||||
ExtraHeader http.Header `long:"header" short:"H" description:"One or more extra HTTP header fields"`
|
||||
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ type options struct {
|
|||
Insecure bool `long:"insecure" description:"Do not check TLS certificates from provider"`
|
||||
Version bool `long:"version" description:"Display version of the binary"`
|
||||
Verbose bool `long:"verbose" short:"v" description:"Verbose output"`
|
||||
Rate *float64 `long:"rate" short:"r" description:"The average upper limit of https operations per second"`
|
||||
Rate *float64 `long:"rate" short:"r" description:"The average upper limit of https operations per second (defaults to unlimited)"`
|
||||
|
||||
ExtraHeader http.Header `long:"header" short:"H" description:"One or more extra HTTP header fields"`
|
||||
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ workers // number of parallel workers to start (default 10)
|
|||
folder // target folder on disc for writing the downloaded documents (default "/var/www")
|
||||
web // directory to be served by the webserver (default "/var/www/html")
|
||||
domain // base url where the contents will be reachable from outside (default "https://example.com")
|
||||
rate // downloading limit per worker in HTTPS req/s (default: no limiting)
|
||||
rate // downloading limit per worker in HTTPS req/s (defaults to unlimited)
|
||||
insecure // do not check validity of TLS certificates
|
||||
write_indices // write index.txt and changes.csv
|
||||
update_interval // to indicate the collection interval for a provider (default ""on best effort")
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ Application Options:
|
|||
--client-key=KEY-FILE TLS client private key file (PEM encoded data)
|
||||
--version Display version of the binary
|
||||
-v, --verbose Verbose output
|
||||
-r, --rate= The average upper limit of https operations per second
|
||||
-r, --rate= The average upper limit of https operations per second (defaults to unlimited)
|
||||
-y, --years=YEARS Number of years to look back from now
|
||||
-H, --header= One or more extra HTTP header fields
|
||||
--validator=URL URL to validate documents remotely
|
||||
|
|
@ -28,7 +28,7 @@ Help Options:
|
|||
|
||||
Will check all given _domains_, by trying each as a CSAF provider.
|
||||
|
||||
If a _domain_ starts with `https://` it is instead considered a direct URL to the `provider-metadata.json` and checking procedes from there.
|
||||
If a _domain_ starts with `https://` it is instead considered a direct URL to the `provider-metadata.json` and checking proceeds from there.
|
||||
|
||||
|
||||
Usage example:
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ Application Options:
|
|||
--insecure Do not check TLS certificates from provider
|
||||
--version Display version of the binary
|
||||
-v, --verbose Verbose output
|
||||
-r, --rate= The average upper limit of https operations per second
|
||||
-r, --rate= The average upper limit of https operations per second (defaults to unlimited)
|
||||
-H, --header= One or more extra HTTP header fields
|
||||
--validator=URL URL to validate documents remotely
|
||||
--validatorcache=FILE FILE to cache remote validations
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue