bin/tab_completion.sh in markdown_exec-1.8.9 vs bin/tab_completion.sh in markdown_exec-2.0.0

- old
+ new

@@ -11,11 +11,11 @@ { COMPREPLY='.' } _mde_echo_version() { - echo "1.8.9" + echo "2.0.0" } _mde() { local cur prev opts cur="${COMP_WORDS[COMP_CWORD]}" @@ -38,10 +38,14 @@ --dump-dump-delegate-object) COMPREPLY="0"; return 0 ;; --dump-blocks-in-file) COMPREPLY="0"; return 0 ;; + --dump-dump-inherited-block_names) COMPREPLY="0"; return 0 ;; + + --dump-dump-inherited-dependencies) COMPREPLY="0"; return 0 ;; + --dump-dump-inherited-lines) COMPREPLY="0"; return 0 ;; --dump-menu-blocks) COMPREPLY="0"; return 0 ;; --dump-selected-block) COMPREPLY="0"; return 0 ;; @@ -92,11 +96,11 @@ # current word is an option name or start of # present matching option names # if [[ ${cur} == -* ]] ; then - opts=("--block-name" "--config" "--debug" "--dump-dump-delegate-object" "--dump-blocks-in-file" "--dump-dump-inherited-lines" "--dump-menu-blocks" "--dump-selected-block" "--exit" "--filename" "--find" "--find-path" "--help" "--how" "--list-blocks" "--list-count" "--list-default-env" "--list-default-yaml" "--list-docs" "--list-recent-output" "--list-recent-scripts" "--output-execution-summary" "--output-script" "--output-stdout" "--path" "--pwd" "--run-last-script" "--save-executed-script" "--save-execution-output" "--saved-script-folder" "--saved-stdout-folder" "--select-recent-output" "--select-recent-script" "--tab-completions" "--user-must-approve" "--version" "--display-level") + opts=("--block-name" "--config" "--debug" "--dump-dump-delegate-object" "--dump-blocks-in-file" "--dump-dump-inherited-block_names" "--dump-dump-inherited-dependencies" "--dump-dump-inherited-lines" "--dump-menu-blocks" "--dump-selected-block" "--exit" "--filename" "--find" "--find-path" "--help" "--how" "--list-blocks" "--list-count" "--list-default-env" "--list-default-yaml" "--list-docs" "--list-recent-output" "--list-recent-scripts" "--output-execution-summary" "--output-script" "--output-stdout" "--path" "--pwd" "--run-last-script" "--save-executed-script" "--save-execution-output" "--saved-script-folder" "--saved-stdout-folder" "--select-recent-output" "--select-recent-script" "--tab-completions" "--user-must-approve" "--version" "--display-level") COMPREPLY=( $(compgen -W "$(printf "'%s' " "${opts[@]}")" -- "${cur}") ) return 0 fi @@ -119,10 +123,14 @@ --dump-dump-delegate-object) COMPREPLY=".BOOL."; return 0 ;; --dump-blocks-in-file) COMPREPLY=".BOOL."; return 0 ;; + --dump-dump-inherited-block_names) COMPREPLY=".BOOL."; return 0 ;; + + --dump-dump-inherited-dependencies) COMPREPLY=".BOOL."; return 0 ;; + --dump-dump-inherited-lines) COMPREPLY=".BOOL."; return 0 ;; --dump-menu-blocks) COMPREPLY=".BOOL."; return 0 ;; --dump-selected-block) COMPREPLY=".BOOL."; return 0 ;; @@ -176,6 +184,6 @@ __filedirs } complete -o filenames -o nospace -F _mde mde # _mde_echo_version -# echo "Updated: 2024-01-20 19:29:56 UTC" +# echo "Updated: 2024-02-08 17:51:16 UTC"