--- a/bash-completion.sh Sun Oct 27 19:49:22 2019 +0100
+++ b/bash-completion.sh Tue Oct 29 12:09:38 2019 +0100
@@ -35,7 +35,8 @@
elif [[ "$w1" == "--define" && "x$w0" == "x" ]]; then COMPREPLY=("''")
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=("'1'")
+ 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'")
else
OPTIONS=(
"--relation"
@@ -46,6 +47,7 @@
"--before-records"
"--after-records"
"--for-each"
+ "--where"
"--drop"
"--define"
)