--- a/bash-completion.sh Sun Dec 13 16:47:25 2020 +0100
+++ b/bash-completion.sh Thu Sep 09 18:57:37 2021 +0200
@@ -61,6 +61,8 @@
"quotes-pattern-for-sections"
"quotes-pattern-for-keys"
"quotes-pattern-for-values"
+ "skip-empty"
+ "skip-null"
"allow-sections"
"hierarchy-separator"
);
@@ -80,6 +82,8 @@
elif [[ "$w2" == "--writer-option" && "$w1" == "quotes-type-for-sections" ]]; then COMPREPLY=($(compgen -W "${QUOTING_TYPES[*]}" -- "$w0"))
elif [[ "$w2" == "--writer-option" && "$w1" == "quotes-type-for-keys" ]]; then COMPREPLY=($(compgen -W "${QUOTING_TYPES[*]}" -- "$w0"))
elif [[ "$w2" == "--writer-option" && "$w1" == "quotes-type-for-values" ]]; then COMPREPLY=($(compgen -W "${QUOTING_TYPES[*]}" -- "$w0"))
+ elif [[ "$w2" == "--writer-option" && "$w1" == "skip-empty" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+ elif [[ "$w2" == "--writer-option" && "$w1" == "skip-null" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w2" == "--writer-option" && "$w1" == "allow-sections" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w2" == "--writer-option" && "$w1" == "hierarchy-separator" ]]; then COMPREPLY=("'/'")
elif [[ "$w2" == "--writer-option" && "x$w0" == "x" ]]; then COMPREPLY=("''")