1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Add short form of flag and description

This commit is contained in:
Fadi Abbud 2022-05-31 08:56:07 +02:00
parent bc90389090
commit 406366e0bd

View file

@ -32,7 +32,7 @@ type options struct {
ClientCert *string `long:"client-cert" description:"TLS client certificate file (PEM encoded data)" value-name:"CERT-FILE"` ClientCert *string `long:"client-cert" description:"TLS client certificate file (PEM encoded data)" value-name:"CERT-FILE"`
ClientKey *string `long:"client-key" description:"TLS client private key file (PEM encoded data)" value-name:"KEY-FILE"` 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"` Version bool `long:"version" description:"Display version of the binary"`
Rate *float64 `long:"rate" short:"t"` Rate *float64 `long:"rate" short:"r" description:"The average upper limit of https operations per second"`
} }
func errCheck(err error) { func errCheck(err error) {