[bug #44221] Spurious warning about non-option arguments is spurious

2015-02-16 Thread Andrew McGill
Follow-up Comment #6, bug #44221 (project findutils): To most users everything after a dash is a filter that narrows down the scope of what find finds. For -maxdepth and -mindepth specifically this is a completely valid interpretation, and the distinction between options and tests is like the dis

[bug #44221] Spurious warning about non-option arguments is spurious

2015-02-12 Thread Andrew McGill
Follow-up Comment #4, bug #44221 (project findutils): Considering... find -type f -ls -a -mindepth 4 -delete That's an odd example ... I'm really struggling to understand what possible interpretation -mindepth could have here other than the one it has .. maybe someone might want to list all file

[bug #44221] Spurious warning about non-option arguments is spurious

2015-02-12 Thread Andrew McGill
Follow-up Comment #2, bug #44221 (project findutils): Indeed, you do need to order options and non-options, but only because of this spurious warning that is printed when you do not do so. It looks like the warning is intended to cater for options which affect tests after them, namely: -foll