mirror of
https://github.com/rclone/rclone.git
synced 2026-06-19 19:04:02 +02:00
filter: raise --include and --exclude warning to ERROR so it appears without -v
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user