diff --git a/cmd/flag_values.go b/cmd/flag_values.go index 4196ddd..8f7b7fa 100644 --- a/cmd/flag_values.go +++ b/cmd/flag_values.go @@ -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)