tools: Change help message for skip-provision-check argument.

This commit changes help message for skip-provision-check argument
used with various test commands. The message is changed with an
intention to be more clear about what this option actually does.

This commit is in series of various changes done to provide clarity
over the use of --force option which is renamed to
--skip-provision-check.

Fixes: #17455
This commit is contained in:
m-e-l-u-h-a-n 2021-03-03 01:19:17 +05:30 committed by Tim Abbott
parent 911c5f19f1
commit 63c12d2e59
1 changed files with 5 additions and 1 deletions

View File

@ -95,7 +95,11 @@ def add_provision_check_override_param(parser: ArgumentParser) -> None:
""" """
Registers --skip-provision-check argument to be used with various commands/tests in our tools. Registers --skip-provision-check argument to be used with various commands/tests in our tools.
""" """
parser.add_argument("--skip-provision-check", action="store_true", help="Run tests despite possible problems.") parser.add_argument(
"--skip-provision-check",
action="store_true",
help="Skip check that provision has been run; useful to save time if you know the dependency changes are not relevant to this command and will not cause it to fail",
)
def find_js_test_files(test_dir: str, files: Iterable[str]) -> List[str]: def find_js_test_files(test_dir: str, files: Iterable[str]) -> List[str]: