kubeconform/pkg/config
Calle Pettersson 27a3ddeca2 fix: change flag parse error handling to return errors instead of exiting
Having ExitOnError in combination with SetOutput to a buffer instead of
stdout/stderr means flags.Parse output is swallowed and kubeconform silently
exits directly with exit code 2 instead of returning the error.

Setting ContinueOnError instead returns the error, and writes usage help to
the buffer, so error handling code in main is reached.
2022-04-23 23:17:02 +02:00
..
config.go fix: change flag parse error handling to return errors instead of exiting 2022-04-23 23:17:02 +02:00
config_test.go Add -v to output version number 2021-11-16 15:30:33 +00:00