Bug 1756224: Update MozlintParser docs about default paths r=ahal

Updates parser documentation to clarify that, if no `paths` are
provided, then only those discovered by `--outgoing` and `--workdir`
are linted.

Differential Revision: https://phabricator.services.mozilla.com/D139158
This commit is contained in:
Mitchell Hentges 2022-03-09 15:52:48 +00:00
parent cf6c6f16a3
commit 2da98775fb

View File

@ -20,7 +20,8 @@ class MozlintParser(ArgumentParser):
"default": None,
"help": "Paths to file or directories to lint, like "
"'browser/components/loop' or 'mobile/android'. "
"Defaults to the current directory if not given.",
"If not provided, defaults to the files changed according "
"to --outgoing and --workdir.",
},
],
[