-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
If using goml set and the value is not specified the incorrect usage is shown but the return code is 0 which causes scripts to not exit.
Can all incorrect usage messages produce a non 0 error?
coligo goml set -f eprops-test/properties.yml -p "template.version" -v
Incorrect Usage: flag needs an argument: -v
NAME:
goml set - Set/Update property
USAGE:
goml set [command options] [arguments...]
OPTIONS:
--file value, -f value path to YAML file
--prop value, -p value property path string - foo.bar.zoo
--value value, -v value value for the defined property
--key value, -k value private key file
--dry-run, -d print set result to stdout
--json, -j format output as json
➜ coligo echo $?
0
Metadata
Metadata
Assignees
Labels
No labels