[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #44221] Spurious warning about non-option arguments is spurious
From: |
Andrew McGill |
Subject: |
[bug #44221] Spurious warning about non-option arguments is spurious |
Date: |
Thu, 12 Feb 2015 09:26:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 |
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:
-follow (deprecated)
-daystart (didn't know about this, looks interesting)
-regextype (this also looks interesting)
All the other options are global in scope - they cannot be construed to apply
differently based on their position in the command line.
The distinction between "options" and "tests" is almost completely artificial.
"-mindepth" is a test which excludes files below the required depth.
Everyone knows that "find" lists these files, and rejects them for failing the
test.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44221>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #44221] Spurious warning about non-option arguments is spurious, anonymous, 2015/02/10
- [bug #44221] Spurious warning about non-option arguments is spurious, Kamil Dudka, 2015/02/10
- [bug #44221] Spurious warning about non-option arguments is spurious,
Andrew McGill <=
- [bug #44221] Spurious warning about non-option arguments is spurious, Kamil Dudka, 2015/02/12
- [bug #44221] Spurious warning about non-option arguments is spurious, Andrew McGill, 2015/02/12
- [bug #44221] Spurious warning about non-option arguments is spurious, Dale Worley, 2015/02/15
- [bug #44221] Spurious warning about non-option arguments is spurious, Andrew McGill, 2015/02/16
- [bug #44221] Spurious warning about non-option arguments is spurious, Dale Worley, 2015/02/16
- [bug #44221] Spurious warning about non-option arguments is spurious, James Youngman, 2015/02/22
- Re: [bug #44221] Spurious warning about non-option arguments is spurious, Paul E Condon, 2015/02/24