From 935533e57f1eb779e74e205971b6621208f2c19a Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Fri, 22 Jun 2018 22:18:55 +0100 Subject: [PATCH] filter: raise --include and --exclude warning to ERROR so it appears without -v --- fs/filter/filter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/filter/filter.go b/fs/filter/filter.go index fd4da9676..c63ce9ade 100644 --- a/fs/filter/filter.go +++ b/fs/filter/filter.go @@ -173,7 +173,7 @@ func NewFilter(opt *Opt) (f *Filter, err error) { } 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 {