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
Родитель cf6c6f16a3
Коммит 2da98775fb
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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.",
},
],
[