summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@googlemail.com>2017-08-09 19:02:38 +0200
committerbecker33 <becker33@llnl.gov>2017-08-09 10:02:38 -0700
commitfaeb1b77b2a5c5188b0d765c337c342dc2b8fd35 (patch)
tree63a98c70d144e61f9d948ec09a73e2c3279327d0 /share
parent9e8cce41e3f78ed4222eff342a5b61b6f8fbf645 (diff)
downloadspack-faeb1b77b2a5c5188b0d765c337c342dc2b8fd35.tar.gz
spack-faeb1b77b2a5c5188b0d765c337c342dc2b8fd35.tar.bz2
spack-faeb1b77b2a5c5188b0d765c337c342dc2b8fd35.tar.xz
spack-faeb1b77b2a5c5188b0d765c337c342dc2b8fd35.zip
Merged 'purge' command with 'clean' and deleted 'purge' (#4970)
* Merged 'purge' command with 'clean'. Deleted 'purge'. fixes #2942 'spack purge' has been merged with 'spack clean'. Documentation has been updated accordingly. The 'clean' and 'purge' behavior are not mutually exclusive, and they log brief information to tty while they go. * Fixed a wrong reference to spack clean in the docs * Added tests for 'spack clean'. Updated bash completion.
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash8
1 files changed, 2 insertions, 6 deletions
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index e60d587c18..46070d68cc 100755
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
@@ -175,7 +175,8 @@ function _spack_checksum {
function _spack_clean {
if $list_options
then
- compgen -W "-h --help" -- "$cur"
+ compgen -W "-h --help -s --stage -d --downloads
+ -m --misc-cache -a --all" -- "$cur"
else
compgen -W "$(_all_packages)" -- "$cur"
fi
@@ -598,11 +599,6 @@ function _spack_providers {
fi
}
-function _spack_purge {
- compgen -W "-h --help -s --stage -d --downloads
- -m --misc-cache -a --all" -- "$cur"
-}
-
function _spack_python {
if $list_options
then