bin/tab_completion.sh in markdown_exec-1.8.5 vs bin/tab_completion.sh in markdown_exec-1.8.6

- old
+ new

@@ -11,11 +11,11 @@ { COMPREPLY='.' } _mde_echo_version() { - echo "1.8.5" + echo "1.8.6" } _mde() { local cur prev opts cur="${COMP_WORDS[COMP_CWORD]}" @@ -52,10 +52,12 @@ --find) COMPREPLY="''"; return 0 ;; -?) COMPREPLY="''"; return 0 ;; + --find-path) COMPREPLY="''"; return 0 ;; + --how) COMPREPLY="''"; return 0 ;; -?) COMPREPLY="''"; return 0 ;; --list-count) COMPREPLY="32"; return 0 ;; @@ -90,11 +92,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" "--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-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 @@ -131,10 +133,12 @@ --find) COMPREPLY=".FIND."; return 0 ;; -?) COMPREPLY=".FIND."; return 0 ;; + --find-path) COMPREPLY=".FIND_PATH."; return 0 ;; + --how) COMPREPLY=".HOW."; return 0 ;; -?) COMPREPLY=".HOW."; return 0 ;; --list-count) COMPREPLY=".INT.1-."; return 0 ;; @@ -172,6 +176,6 @@ __filedirs } complete -o filenames -o nospace -F _mde mde # _mde_echo_version -# echo "Updated: 2023-12-22 22:55:35 UTC" +# echo "Updated: 2023-12-26 00:07:49 UTC"