Fix tab completion after change to uninstall flag (#3175)

This commit is contained in:
Adam J. Stewart 2017-02-18 13:08:59 -06:00 committed by GitHub
parent 6d3f649382
commit c2d210568c

View file

@ -718,7 +718,7 @@ function _spack_test {
function _spack_uninstall { function _spack_uninstall {
if $list_options if $list_options
then then
compgen -W "-h --help -f --force -a --all -d --dependents compgen -W "-h --help -f --force -a --all -R --dependents
-y --yes-to-all" -- "$cur" -y --yes-to-all" -- "$cur"
else else
compgen -W "$(_installed_packages)" -- "$cur" compgen -W "$(_installed_packages)" -- "$cur"