Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 322121 - usage message generates a "find" warning related to "-maxdepth 1"
usage message generates a "find" warning related to "-maxdepth 1"
Product: Fedora
Classification: Fedora
Component: xmlto (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Ondrej Vasik
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-10-07 09:39 EDT by Robert P. J. Day
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-08 08:12:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Robert P. J. Day 2007-10-07 09:39:28 EDT
in the xmlto usage() function, there is a call to "find" with options 

"... -type d -maxdepth 1"

for reasons that escape me entirely, that particular ordering generates a find

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.

  simply swapping the order of those two options makes the warning go away, and
doesn't appear to change the operation in any way.
Comment 1 Ondrej Vasik 2007-10-08 08:12:45 EDT
Thanks for reporting bug, I will fix this in devel now and in F7 and FC-6 in
next real bugfix - this warning is harmless and fix is only cosmetic change -
but it is good to have it fixed.

Fixed in xmlto-0.0.18-16, closing RAWHIDE

Note You need to log in before you can comment on or make changes to this bug.