diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2020-06-03 17:43:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 17:43:51 -0700 |
commit | 24775697f5b8b38bea407fd5b2594e483f39d150 (patch) | |
tree | c5f3c9a3f300b16aa1b60a413fab0cc986db0f4c /share/spack/spack-completion.bash | |
parent | 0086c475466ee2501ccbf446a22ed68930c3e580 (diff) | |
download | spack-24775697f5b8b38bea407fd5b2594e483f39d150.tar.gz spack-24775697f5b8b38bea407fd5b2594e483f39d150.tar.bz2 spack-24775697f5b8b38bea407fd5b2594e483f39d150.tar.xz spack-24775697f5b8b38bea407fd5b2594e483f39d150.zip |
Mirrors: add option to exclude packages from "mirror create" (#14154)
* add an --exclude-file option to 'spack mirror create' which allows a user to specify a file of specs to exclude when creating a mirror. this is anticipated to be useful especially when using the '--all' option
* allow specifying number of versions when mirroring all packages
* when mirroring all specs within an environment, include dependencies of root specs
* add '--exclude-specs' option to allow user to specify that specs should be excluded on the command line
* add test for excluding specs
Diffstat (limited to 'share/spack/spack-completion.bash')
-rwxr-xr-x | share/spack/spack-completion.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 6801862bee..fa1e79c9c7 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1042,7 +1042,7 @@ _spack_mirror() { _spack_mirror_create() { if $list_options then - SPACK_COMPREPLY="-h --help -d --directory -a --all -f --file --skip-unstable-versions -D --dependencies -n --versions-per-spec" + SPACK_COMPREPLY="-h --help -d --directory -a --all -f --file --exclude-file --exclude-specs --skip-unstable-versions -D --dependencies -n --versions-per-spec" else _all_packages fi |