bash-completion.sh
branchv_0
changeset 5 d70ea23682aa
parent 2 f031a4dc7c52
child 6 fb717cfbfea1
--- a/bash-completion.sh	Sun Nov 22 12:24:25 2020 +0100
+++ b/bash-completion.sh	Sun Nov 22 19:22:25 2020 +0100
@@ -29,7 +29,7 @@
 
 	if   [[ "$w1" == "--relation"                      && "x$w0" == "x" ]];    then COMPREPLY=("''")
 	elif [[ "$w1" == "--enable-sections"                                ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
-	elif [[ "$w1" == "--enable-subkeys"                                 ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+	elif [[ "$w1" == "--enable-sub-keys"                                ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
 	elif [[ "$w1" == "--enable-comments"                                ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
 	elif [[ "$w1" == "--enable-line-numbers"                            ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
 	elif [[ "$w1" == "--enable-event-numbers"                           ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
@@ -37,7 +37,7 @@
 		OPTIONS=(
 			"--relation"
 			"--enable-sections"
-			"--enable-subkeys"
+			"--enable-sub-keys"
 			"--enable-comments"
 			"--enable-line-numbers"
 			"--enable-event-numbers"