diff --git a/cli/cli.go b/cli/cli.go index 333f36b2..0f7e9adf 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -247,7 +247,7 @@ func Flag(args string) (string, map[string]interface{}) { err error ) args = strings.TrimSpace(args) - re := regexp.MustCompile(`(?i)-([a-z]+)={0,1}\s{0,1}([0-9|a-z]+)`) + re := regexp.MustCompile(`(?i)-([a-z]+)={0,1}\s{0,1}([0-9|a-z|-]+)`) f := re.FindAllStringSubmatch(args, -1) for _, kv := range f { if len(kv) > 1 {