From cb01981628869a97b02024541a7cf662fc7fd53e Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Wed, 16 Dec 2020 10:13:22 -0800 Subject: docs: fix spack command for unit-test pytest help (#20415) --- lib/spack/spack/cmd/unit_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/cmd/unit_test.py b/lib/spack/spack/cmd/unit_test.py index 509211de04..ce24f7d026 100644 --- a/lib/spack/spack/cmd/unit_test.py +++ b/lib/spack/spack/cmd/unit_test.py @@ -146,7 +146,7 @@ def add_back_pytest_args(args, unknown_args): def unit_test(parser, args, unknown_args): if args.pytest_help: # make the pytest.main help output more accurate - sys.argv[0] = 'spack test' + sys.argv[0] = 'spack unit-test' return pytest.main(['-h']) # add back any parsed pytest args we need to pass to pytest -- cgit v1.2.3-60-g2f50