koalaman/shellcheck

does man page confuse search-path and source-path?

Opened this issue · 0 comments

in shellcheck(1), the documentation for -P says

-P SOURCEPATH, --source-path=SOURCEPATH
   Specify paths to search for sourced files, separated by : on Unix and ; on Windows.  This is equivalent to specifying
   search-path directives.

Note that this describes "search-path directives". In the Directives section, "search-path" doesn't exist, although "source-path" does, and that also matches with the long format of the argument. It seems like "search-path" here is an error here, perhaps since it was introduced in d9e419d