mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Fix version config and make aggreator use new command line parser. (#416)
* Fix version config and make aggreator use new command line parser. * Replace old error check with check from the library.
This commit is contained in:
parent
8aed2c034e
commit
d42db07bec
5 changed files with 39 additions and 72 deletions
|
|
@ -77,7 +77,8 @@ func parseArgsConfig() ([]string, *config, error) {
|
|||
ConfigLocation: func(cfg *config) string {
|
||||
return cfg.Config
|
||||
},
|
||||
Usage: "[OPTIONS] domain...",
|
||||
Usage: "[OPTIONS] domain...",
|
||||
HasVersion: func(cfg *config) bool { return cfg.Version },
|
||||
SetDefaults: func(cfg *config) {
|
||||
cfg.Format = defaultFormat
|
||||
cfg.RemoteValidatorPresets = []string{defaultPreset}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue