bash-completion.sh
branchv_0
changeset 26 88e566898f8f
parent 25 98be80d2e65b
--- a/bash-completion.sh	Tue May 11 20:42:22 2021 +0200
+++ b/bash-completion.sh	Tue May 11 21:10:22 2021 +0200
@@ -35,7 +35,7 @@
 
 	if   [[ "$w1" == "--relation"                      && "x$w0" == "x" ]];    then COMPREPLY=("'.*'")
 	elif [[ "$w1" == "--attribute"                     && "x$w0" == "x" ]];    then COMPREPLY=("'.*'")
-	elif [[ "$w1" == "--pattern"                       && "x$w0" == "x" ]];    then COMPREPLY=("''")
+	elif [[ "$w1" == "--value"                         && "x$w0" == "x" ]];    then COMPREPLY=("''")
 	elif [[ "$w1" == "--case-sensitive"                                 ]];    then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}"  -- "$w0"))
 	elif [[ "$w2" == "--case-sensitive"                                 ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
 	elif [[ "$w1" == "--invert-match"                                   ]];    then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}"  -- "$w0"))
@@ -44,7 +44,7 @@
 		OPTIONS=(
 			"--relation"
 			"--attribute"
-			"--pattern"
+			"--value"
 			"--case-sensitive"
 			"--invert-match"
 		)