rename input argunment interested-folder to interest-only -- be consistent with other arguments (#43889)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43889

1. rename input argunment `interested-folder` to `interest-only` -- be consistent with `run-only`, `coverage-only` and be shorted

Test Plan: Test on devserver and linux docker.

Reviewed By: malfet

Differential Revision: D23417338

fbshipit-source-id: ce9711e75ca3a1c30801ad6bd1a620f3b06819c5
This commit is contained in:
yujunzhao@devvm1621.atn0.facebook.com 2020-09-01 11:40:33 -07:00 committed by Facebook GitHub Bot
parent bc64efae48
commit db6bd9d60b
2 changed files with 2 additions and 2 deletions

View file

@ -72,7 +72,7 @@ def parse_arguments(
args = parser.parse_args()
# get option
options = get_options(args)
return (options, args.interested_folder, args.run_only, args.clean)
return (options, args.interest_only, args.run_only, args.clean)
def get_test_list_by_type(

View file

@ -45,7 +45,7 @@ def add_arguments_utils(parser: argparse.ArgumentParser) -> argparse.ArgumentPar
action="store_true",
)
parser.add_argument(
"--interested-folder",
"--interest-only",
help="Final report will be only about these folders and its sub-folders; for example: caff2/c10;",
nargs="+",
default=None,