summaryrefslogtreecommitdiff
path: root/completions/update-alternatives
diff options
context:
space:
mode:
Diffstat (limited to 'completions/update-alternatives')
-rw-r--r--completions/update-alternatives8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/update-alternatives b/completions/update-alternatives
index 43cc3229..e9ba476b 100644
--- a/completions/update-alternatives
+++ b/completions/update-alternatives
@@ -13,7 +13,7 @@ _installed_alternatives()
break
fi
done
- COMPREPLY=( $( compgen -W '$( command ls $admindir )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(command ls $admindir)' -- "$cur") )
}
_update_alternatives()
@@ -60,7 +60,7 @@ _update_alternatives()
_filedir
;;
1)
- COMPREPLY=( $( compgen -W '--slave' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '--slave' -- "$cur") )
;;
3)
_installed_alternatives
@@ -82,9 +82,9 @@ _update_alternatives()
_installed_alternatives
;;
*)
- COMPREPLY=( $( compgen -W '--verbose --quiet --help --version
+ COMPREPLY=( $(compgen -W '--verbose --quiet --help --version
--altdir --admindir --install --remove --auto --display
- --config --set' -- "$cur" ) )
+ --config --set' -- "$cur") )
esac
} &&
complete -F _update_alternatives update-alternatives alternatives