bash-completion.sh
branchv_0
changeset 32 e72546725c77
parent 31 c6527b45fbc2
child 33 c9a158da6c32
--- a/bash-completion.sh	Sun Nov 29 10:49:33 2020 +0100
+++ b/bash-completion.sh	Mon Nov 30 00:12:16 2020 +0100
@@ -75,6 +75,12 @@
 		"unescape-backspace"
 		"tree-style"
 		"tree-with-namespaces"
+		"root-name"
+		"enable-whitespace"
+		"enable-comments"
+		"enable-sub-keys"
+		"enable-line-numbers"
+		"enable-event-numbers"
 	);
 
 	DIALECTS=(
@@ -118,6 +124,12 @@
 	elif [[ "$w2" == "--parser-option" && "$w1" == "quotes"                  && "x$w0" == "x" ]];    then COMPREPLY=("\$'\"\\''")
 	elif [[ "$w2" == "--parser-option" && "$w1" == "tree-style"                               ]];    then COMPREPLY=($(compgen -W "${TREE_STYLES[*]}" -- "$w0"))
 	elif [[ "$w2" == "--parser-option" && "$w1" == "tree-with-namespaces"                     ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+	elif [[ "$w2" == "--parser-option" && "$w1" == "root-name"               && "x$w0" == "x" ]];    then COMPREPLY=("'ini'")
+	elif [[ "$w2" == "--parser-option" && "$w1" == "enable-whitespace"                        ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+	elif [[ "$w2" == "--parser-option" && "$w1" == "enable-comments"                          ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+	elif [[ "$w2" == "--parser-option" && "$w1" == "enable-sub-keys"                          ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+	elif [[ "$w2" == "--parser-option" && "$w1" == "enable-line-numbers"                      ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+	elif [[ "$w2" == "--parser-option" && "$w1" == "enable-event-numbers"                     ]];    then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
 
 	else
 		OPTIONS=(