fix bash-completion example condition v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 11 May 2021 23:23:35 +0200
branchv_0
changeset 43 5d369d33a027
parent 42 307688531414
child 44 cca41f80b89f
fix bash-completion example condition
bash-completion.sh
--- a/bash-completion.sh	Sat Oct 24 00:08:19 2020 +0200
+++ b/bash-completion.sh	Tue May 11 23:23:35 2021 +0200
@@ -36,7 +36,7 @@
 	elif [[ "$w2" == "--define"                             ]];    then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0"))
 	elif [[ "$w3" == "--define"            && "x$w0" == "x" ]];    then COMPREPLY=("''")
 	elif [[ "$w1" == "--for-each"          && "x$w0" == "x" ]];    then COMPREPLY=("'(a == \"abc\") { a = \"X\"; record(); }'")
-	elif [[ "$w1" == "--where"             && "x$w0" == "x" ]];    then COMPREPLY=("'a == \"abc\" || b = 123'")
+	elif [[ "$w1" == "--where"             && "x$w0" == "x" ]];    then COMPREPLY=("'a == \"abc\" || b == 123'")
 	else
 		OPTIONS=(
 			"--relation"