From 9d3d7c68fb76d112ab048b2cc581d48bc22aa9f4 Mon Sep 17 00:00:00 2001 From: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> Date: Tue, 2 Nov 2021 02:00:21 -0700 Subject: Add tag filters to `spack test list` (#26842) --- share/spack/spack-completion.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index c34c954e5e..a5610f5872 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1696,7 +1696,12 @@ _spack_test_run() { } _spack_test_list() { - SPACK_COMPREPLY="-h --help -a --all" + if $list_options + then + SPACK_COMPREPLY="-h --help -a --all" + else + SPACK_COMPREPLY="" + fi } _spack_test_find() { -- cgit v1.2.3-70-g09d2