Skip to content

Commit

Permalink
Merge pull request #486 from Ajpantuso/apantuso/fix_excluded_namespac…
Browse files Browse the repository at this point in the history
…es_comma_delimited

fix: excluded-namespaces option should accept comma-delimited lists
  • Loading branch information
Ajpantuso authored Oct 6, 2023
2 parents 412fc1a + 97e3b75 commit 5cd2f4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/mtcli/validate/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (o *options) AddEnabledFlag(flags *pflag.FlagSet) {
}

func (o *options) AddExcludedNamespacesFlag(flags *pflag.FlagSet) {
flags.StringArrayVar(
flags.StringSliceVar(
&o.ExcludedNamespaces,
"excluded-namespaces",
o.ExcludedNamespaces,
Expand Down

0 comments on commit 5cd2f4f

Please sign in to comment.