1
0
Fork 0
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:
Sascha L. Teichmann 2023-08-15 17:54:56 +02:00 committed by GitHub
parent 8aed2c034e
commit d42db07bec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 39 additions and 72 deletions

View file

@ -6,13 +6,12 @@
csaf_aggregator [OPTIONS]
Application Options:
-c, --config=CFG-FILE File name of the configuration file (default:
aggregator.toml)
--version Display version of the binary
-i, --interim Perform an interim scan
-i, --interim Perform an interim scan
--version Display version of the binary
-c, --config=TOML-FILE Path to config TOML file
Help Options:
-h, --help Show this help message
-h, --help Show this help message
```
Usage example for a single run, to test if the config is good: