Print `--help` output to stdout.

singlequotes
Martin Dosch 1 year ago
parent 4fbd7efb91
commit 97c5b7013f
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -4,6 +4,9 @@
### Added
- Add support for sending Out of Band Data (OOB).
### Changed
- Print `--help` output to stdout instead of stderr.
## [v0.5.6] 2022-11-11
### Added
- Add short option `-h` for http-upload.

@ -128,7 +128,7 @@ func main() {
switch {
case *flagHelp:
// If requested, show help and quit.
getopt.Usage()
getopt.PrintUsage(os.Stdout)
os.Exit(0)
case *flagVersion:
// If requested, show version and quit.

Loading…
Cancel
Save