in cmd/cfn-format/main.go [33:44]
func init() {
pflag.BoolVarP(&compactFlag, "compact", "c", false, "Produce more compact output.")
pflag.BoolVarP(&jsonFlag, "json", "j", false, "Output the template as JSON (default format: YAML).")
pflag.BoolVarP(&verifyFlag, "verify", "v", false, "Check if the input is already correctly formatted and exit.\nThe exit status will be 0 if so and 1 if not.")
pflag.BoolVarP(&writeFlag, "write", "w", false, "Write the output back to the file rather than to stdout.")
pflag.Usage = func() {
fmt.Fprintln(os.Stderr, usage)
pflag.PrintDefaults()
os.Exit(1)
}
}