Skip to content

Commit

Permalink
Fix default format bug - only use one of the constants
Browse files Browse the repository at this point in the history
  • Loading branch information
timperrett committed Oct 13, 2018
1 parent b17b5cf commit 918775e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func main() {
},
cli.StringFlag{
Name: "format, f",
Value: "yaml",
Value: YAML,
Usage: "Encoding format to use; present options are '" + YAML + "' or '" + NLDP + "'",
Destination: &genEncodingMode,
},
Expand Down

0 comments on commit 918775e

Please sign in to comment.