bash completion: DB name for --test-connection v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Fri, 27 Dec 2013 18:27:03 +0100
branchv_0
changeset 8467468c75fba5
parent 83 9563232ea0b7
child 85 b9b4e95240e1
bash completion: DB name for --test-connection
scripts/bash_completion.pl
     1.1 --- a/scripts/bash_completion.pl	Fri Dec 27 18:22:19 2013 +0100
     1.2 +++ b/scripts/bash_completion.pl	Fri Dec 27 18:27:03 2013 +0100
     1.3 @@ -50,7 +50,7 @@
     1.4  	prev=${COMP_WORDS[COMP_CWORD-1]}
     1.5  
     1.6  	case "$prev" in
     1.7 -	--db)
     1.8 +	--db | --test-connection)
     1.9  		if [ -f '.$databasesFile.' ]; then
    1.10  			COMPREPLY=( $( compgen -W " $( cat '.$databasesFile.' ) " -- $cur ) )
    1.11  			return 0