add --only option to buildcache create cmd (#14921)

* add --only option to buildcache create cmd

replaces the --no-deps option
This commit is contained in:
Omar Padron
2020-02-25 17:32:20 -05:00
committed by GitHub
parent 8d750db9de
commit 00090f8f97
3 changed files with 32 additions and 13 deletions

View File

@@ -382,7 +382,7 @@ _spack_buildcache() {
_spack_buildcache_create() {
if $list_options
then
SPACK_COMPREPLY="-h --help -r --rel -f --force -u --unsigned -a --allow-root -k --key -d --directory --no-rebuild-index -y --spec-yaml --no-deps"
SPACK_COMPREPLY="-h --help -r --rel -f --force -u --unsigned -a --allow-root -k --key -d --directory --no-rebuild-index -y --spec-yaml --only"
else
_all_packages
fi