summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorGlenn Johnson <glenn-johnson@uiowa.edu>2019-09-20 13:09:44 -0500
committerMassimiliano Culpo <massimiliano.culpo@gmail.com>2019-09-20 20:09:44 +0200
commit5397606b34912307e2e3747b818b458778daae70 (patch)
tree5768d83e2b72daf7adb36139030517b035bfa1ca /share
parentdb4d52d923b69bb604ffa2fee5006d42c1c06701 (diff)
downloadspack-5397606b34912307e2e3747b818b458778daae70.tar.gz
spack-5397606b34912307e2e3747b818b458778daae70.tar.bz2
spack-5397606b34912307e2e3747b818b458778daae70.tar.xz
spack-5397606b34912307e2e3747b818b458778daae70.zip
Add --known-targets to bash completion for arch command (#12887)
This PR adds the new --known-targets flag to the `spack arch` command.
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 45dae0e171..bd6675dd16 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -126,7 +126,7 @@ function _spack_add {
function _spack_arch {
compgen -W "-h --help -p --platform -o --operating-system
- -t --target" -- "$cur"
+ -t --target --known-targets" -- "$cur"
}
function _spack_blame {