# HG changeset patch
# User František Kučera <franta-hg@frantovo.cz>
# Date 1388165223 -3600
# Node ID 67468c75fba554dc2bddfb2134734db54d8c95ba
# Parent  9563232ea0b7e0be3cde5159ffa4d1a75e48cac1
bash completion: DB name for --test-connection

diff -r 9563232ea0b7 -r 67468c75fba5 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