what means the find warning about "non-option argument"?

Robert P. J. Day rpjday at mindspring.com
Sun Oct 7 13:27:47 UTC 2007


  i've never noticed this before:

$ find <dir> -type d -maxdepth 1
find: warning: you have specified the -maxdepth option after a
non-option argument -type, but options are not positional (-maxdepth
affects tests specified before it as well as those specified after
it).  Please specify options before other arguments.
...

   ???.  i've read that a couple times and i'm still not sure what
it's complaining about.

rday

-- 
========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://crashcourse.ca
========================================================================




More information about the users mailing list