mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 00:13:49 +01:00
filter: raise --include and --exclude warning to ERROR so it appears without -v
This commit is contained in:
parent
1550f70865
commit
935533e57f
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user