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 84 67468c75fba5
parent 83 9563232ea0b7
child 85 b9b4e95240e1
bash completion: DB name for --test-connection
scripts/bash_completion.pl
--- a/scripts/bash_completion.pl	Fri Dec 27 18:22:19 2013 +0100
+++ b/scripts/bash_completion.pl	Fri Dec 27 18:27:03 2013 +0100
@@ -50,7 +50,7 @@
 	prev=${COMP_WORDS[COMP_CWORD-1]}
 
 	case "$prev" in
-	--db)
+	--db | --test-connection)
 		if [ -f '.$databasesFile.' ]; then
 			COMPREPLY=( $( compgen -W " $( cat '.$databasesFile.' ) " -- $cur ) )
 			return 0