$ find . -iname '*.md' -type f -maxdepth 1
find: warning: you have specified the -maxdepth option after a non-option argument -iname, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
Moving the -maxdepth before -iname silences the warning:
Moving the
-maxdepth
before-iname
silences the warning:Warning coming from here: https://github.com/gofed/go-macros/blob/master/bin/go-rpm-integration#L178