diff --git a/commands.go b/commands.go index 6f69ff03..5b2f4c6a 100644 --- a/commands.go +++ b/commands.go @@ -67,6 +67,11 @@ func appendArg(dst []interface{}, arg interface{}) []interface{} { dst = append(dst, k, v) } return dst + case map[string]string: + for k, v := range arg { + dst = append(dst, k, v) + } + return dst default: return append(dst, arg) }