Skip to content

Commit

Permalink
♻️ Use created variable for default values
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Jul 13, 2022
1 parent c38692a commit 326fb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/flag_values.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
var rawValues map[string]string

func init() {
Command.Flags().StringToStringVarP(&rawValues, "value", "v", map[string]string{}, "Define a template variable. Can be used more than once.")
Command.Flags().StringToStringVarP(&rawValues, "value", "v", rawValues, "Define a template variable. Can be used more than once.")
err := Command.RegisterFlagCompletionFunc("value", valueCompletion)
if err != nil {
panic(err)
Expand Down

0 comments on commit 326fb9c

Please sign in to comment.