summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2019-01-10 02:32:47 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2019-01-10 00:32:47 -0800
commit72a41a49181e2625d27218ecf16f0881a17cb45f (patch)
tree9e3e89222840095bc9778b8439ae4b169c607db8 /share
parent450b0e30599a05e13aa9070221d7bcab052eee30 (diff)
downloadspack-72a41a49181e2625d27218ecf16f0881a17cb45f.tar.gz
spack-72a41a49181e2625d27218ecf16f0881a17cb45f.tar.bz2
spack-72a41a49181e2625d27218ecf16f0881a17cb45f.tar.xz
spack-72a41a49181e2625d27218ecf16f0881a17cb45f.zip
spack versions: only list safe versions (#10004)
* spack versions: only list safe versions * Add unit tests for spack versions -s
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index c465bd6bb6..c4113ab0da 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -1181,7 +1181,7 @@ function _spack_use {
function _spack_versions {
if $list_options
then
- compgen -W "-h --help" -- "$cur"
+ compgen -W "-h --help -s --safe-only" -- "$cur"
else
compgen -W "$(_all_packages)" -- "$cur"
fi