mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
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:
parent
bc64efae48
commit
db6bd9d60b
2 changed files with 2 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue