add boolean parameter to --list-data-sources + allow listing and SELECTing at the same time: bash-completion.sh v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sat, 21 Aug 2021 23:13:08 +0200
branchv_0
changeset 55 3a120e64bb37
parent 54 bc6e11cccdf4
child 56 72305cea3b71
add boolean parameter to --list-data-sources + allow listing and SELECTing at the same time: bash-completion.sh
bash-completion.sh
--- a/bash-completion.sh	Sun May 09 18:19:09 2021 +0200
+++ b/bash-completion.sh	Sat Aug 21 23:13:08 2021 +0200
@@ -15,7 +15,7 @@
 
 _relpipe_tr_sql_completion_dsn() {
 	if type relpipe-out-nullbyte &> /dev/null; then
-		relpipe-tr-sql --list-data-sources | relpipe-out-nullbyte | while read -r -d '' name; do read -r -d '' description; echo $name; done
+		relpipe-tr-sql --list-data-sources true | relpipe-out-nullbyte | while read -r -d '' name; do read -r -d '' description; echo $name; done
 	fi
 }