Skip to content

Commit

Permalink
fix: --args "--set foo=bar" always result in "unknown flag: --set f…
Browse files Browse the repository at this point in the history
…oo" error (#268)

Ref #248
  • Loading branch information
mumoshu authored Sep 2, 2018
1 parent ed0854a commit 98617f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func GetArgs(args string, state *state.HelmState) []string {

if val != "" {
if spaceflagArg[flag] {
argArr = append(argArr, fmt.Sprintf("%s %s", flag, val))
argArr = append(argArr, flag, val)
} else {
argArr = append(argArr, fmt.Sprintf("%s=%s", flag, val))
}
Expand Down

0 comments on commit 98617f7

Please sign in to comment.