summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>2020-12-16 10:13:22 -0800
committerGitHub <noreply@github.com>2020-12-16 10:13:22 -0800
commitcb01981628869a97b02024541a7cf662fc7fd53e (patch)
tree59539d28e7e11b0fc2e4844af3741ed26d2923b8 /lib
parentd505ef8217739bb2615ef36e892372f34783d327 (diff)
downloadspack-cb01981628869a97b02024541a7cf662fc7fd53e.tar.gz
spack-cb01981628869a97b02024541a7cf662fc7fd53e.tar.bz2
spack-cb01981628869a97b02024541a7cf662fc7fd53e.tar.xz
spack-cb01981628869a97b02024541a7cf662fc7fd53e.zip
docs: fix spack command for unit-test pytest help (#20415)
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/unit_test.py2
1 files changed, 1 insertions, 1 deletions
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