diff --git a/cmd/csaf_downloader/main.go b/cmd/csaf_downloader/main.go index 2a2fd67..9867748 100644 --- a/cmd/csaf_downloader/main.go +++ b/cmd/csaf_downloader/main.go @@ -27,7 +27,7 @@ type options struct { RemoteValidator string `long:"validator" description:"URL to validate documents remotely" value-name:"URL"` RemoteValidatorCache string `long:"validatorcache" description:"FILE to cache remote validations" value-name:"FILE"` - RemoteValidatorPresets []string `long:"validatorpreset" description:"One or more presets to validate remotely"` + RemoteValidatorPresets []string `long:"validatorpreset" description:"One or more presets to validate remotely" default:"mandatory"` } func errCheck(err error) { diff --git a/docs/csaf_downloader.md b/docs/csaf_downloader.md index ab30586..854bd3a 100644 --- a/docs/csaf_downloader.md +++ b/docs/csaf_downloader.md @@ -15,7 +15,7 @@ Application Options: -r, --rate= The average upper limit of https operations per second --validator=URL URL to validate documents remotely --validatorcache=FILE FILE to cache remote validations - --validatorpreset= One or more presets to validate remotely + --validatorpreset= One or more presets to validate remotely (default: mandatory) Help Options: -h, --help Show this help message