1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +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:
JanHoefelmeyer 2023-11-06 14:33:05 +01:00 committed by GitHub
parent 77cc250561
commit 086c4ab48b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 83 additions and 83 deletions

View file

@ -14,8 +14,8 @@ echo '==== run checker (twice)'
cd ~/csaf_distribution
./bin-linux-amd64/csaf_checker -f html -o ../checker-results.html --insecure \
--client-cert ~/devca1/testclient1.crt \
--client-key ~/devca1/testclient1-key.pem \
--client_cert ~/devca1/testclient1.crt \
--client_key ~/devca1/testclient1-key.pem \
--verbose --insecure localhost
cat ../checker-results.html

View file

@ -23,7 +23,7 @@ for f in $(ls csaf_examples); do
../../bin-linux-amd64/csaf_uploader --insecure -P security123 -a upload \
-t ${TLPs[$((COUNTER++ % 4))]} \
-u https://localhost:8443/cgi-bin/csaf_provider.go \
--client-cert ~/devca1/testclient1.crt \
--client-key ~/devca1/testclient1-key.pem \
--client_cert ~/devca1/testclient1.crt \
--client_key ~/devca1/testclient1-key.pem \
./csaf_examples/"$f"
done