diff --git a/internal/config/array_flag.go b/internal/config/array_flag.go index bb99d0a52..5a779545d 100644 --- a/internal/config/array_flag.go +++ b/internal/config/array_flag.go @@ -1,7 +1,14 @@ package config -import "strings" +import ( + "flag" + "strings" +) +var _ flag.Value = (*ArrayFlags)(nil) + +//ArrayFlags implements the flag/Value interface +//allowing to set multiple string flags with the same name type ArrayFlags []string func (i *ArrayFlags) String() string {