filter: raise --include and --exclude warning to ERROR so it appears without -v
This commit is contained in:
parent
1550f70865
commit
935533e57f
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ func NewFilter(opt *Opt) (f *Filter, err error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if addImplicitExclude && foundExcludeRule {
|
if addImplicitExclude && foundExcludeRule {
|
||||||
fs.Infof(nil, "Using --filter is recommended instead of both --include and --exclude as the order they are parsed in is indeterminate")
|
fs.Errorf(nil, "Using --filter is recommended instead of both --include and --exclude as the order they are parsed in is indeterminate")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, rule := range f.Opt.FilterRule {
|
for _, rule := range f.Opt.FilterRule {
|
||||||
|
|
Loading…
Reference in a new issue