--- a/bash-completion.sh Mon Nov 30 00:12:16 2020 +0100
+++ b/bash-completion.sh Sun Oct 31 17:30:40 2021 +0100
@@ -62,6 +62,8 @@
# TODO: introspection: after moving to alt2xml the available options and their values should be provided by the parser
PARSER_OPTIONS=(
+ "allow-line-continuation-with-escaping"
+ "allow-line-continuation-with-space"
"trim-continuing-lines"
"allow-sections"
"allow-section-tags"
@@ -85,6 +87,7 @@
DIALECTS=(
"java-properties"
+ "java-manifest-mf"
);
TREE_STYLES=(
@@ -111,6 +114,8 @@
elif [[ "$w3" == "--raw-xml-attribute-wrapper" && "x$w0" == "x" ]]; then COMPREPLY=("''")
elif [[ "$w1" == "--parser-option" ]]; then COMPREPLY=($(compgen -W "${PARSER_OPTIONS[*]}" -- "$w0"))
+ elif [[ "$w2" == "--parser-option" && "$w1" == "allow-line-continuation-with-escaping" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+ elif [[ "$w2" == "--parser-option" && "$w1" == "allow-line-continuation-with-space" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w2" == "--parser-option" && "$w1" == "trim-continuing-lines" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w2" == "--parser-option" && "$w1" == "allow-sections" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w2" == "--parser-option" && "$w1" == "allow-section-tags" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))