diff --git a/pkg/configfilearg/parser.go b/pkg/configfilearg/parser.go index 181369ab1e28..50377be9c30f 100644 --- a/pkg/configfilearg/parser.go +++ b/pkg/configfilearg/parser.go @@ -90,7 +90,7 @@ func (p *Parser) stripInvalidFlags(command string, args []string) ([]string, err if validFlags[mArg] { result = append(result, arg) } else { - logrus.Warnf("Unknown flag %s found in config.yaml, skipping\n", arg) + logrus.Warnf("Unknown flag %s found in config.yaml, skipping\n", strings.Split(arg, "=")[0]) } } return result, nil