From faeb1b77b2a5c5188b0d765c337c342dc2b8fd35 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Wed, 9 Aug 2017 19:02:38 +0200 Subject: 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. --- share/spack/spack-completion.bash | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'share') 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 -- cgit v1.2.3-70-g09d2