mirror of
https://github.com/rclone/rclone.git
synced 2025-06-04 19:24:35 +08:00
filter: raise --include and --exclude warning to ERROR so it appears without -v
This commit is contained in:
@ -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