From 0d5b9b8ab109200311ffb211535a999b57a4673e Mon Sep 17 00:00:00 2001 From: Ville Skyttä Date: Sun, 7 Apr 2013 11:12:08 +0300 Subject: bash-completion: Don't offer short options where corresponding long one exists. Users who know the short options can just hit the short option instead of tab, and it's not likely that it would be helpful to present a list of single character options to users who don't know them, doing so just unnecessarily trashes the list of suggestions. Signed-off-by: Ville Skyttä --- bash-completion/ul | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash-completion/ul') diff --git a/bash-completion/ul b/bash-completion/ul index be3529df5..c00e510f6 100644 --- a/bash-completion/ul +++ b/bash-completion/ul @@ -20,7 +20,7 @@ _ul_module() esac case $cur in -*) - OPTS="-t --terminal -i --indicated -V --version -h --help" + OPTS="--terminal --indicated --version --help" COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) ) return 0 ;; -- cgit v1.2.3-55-g7522