Expand root paths into source paths

This commit is contained in:
Vidar Holen
2019-04-24 18:51:24 -07:00
parent af46758ff1
commit c6c12f52bd
6 changed files with 70 additions and 30 deletions

View File

@@ -67,6 +67,14 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
: Don't try to look for .shellcheckrc configuration files.
**-P**\ *SOURCEPATH*,\ **--source-path=***SOURCEPATH*
: Specify paths to search for sourced files, separated by `:` on Unix and
`;` on Windows. Absolute paths will also be rooted in these. The special
path `SCRIPTDIR` can be used to specify the currently checked script's
directory, as in `-P SCRIPTDIR` or `-P SCRIPTDIR/../libs`. Subsequent
`-P` flags accumulate and take predecence.
**-S**\ *SEVERITY*,\ **--severity=***severity*
: Specify minimum severity of errors to consider. Valid values in order of