Skip to content

Commit

Permalink
Updated autocomplete scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bkryza committed Nov 13, 2023
1 parent 146c79a commit 4c1cd35
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion packaging/autocomplete/_clang-uml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,8 @@ _arguments \
"--print-from[Print all possible 'from' values for a given diagram]" \
"--print-to[Print all possible 'to' values for a given diagram]" \
'--no-validate[Do not perform configuration file schema validation]' \
'--validate-only[Perform configuration file schema validation and exit]'
'--validate-only[Perform configuration file schema validation and exit]' \
{-r,--render_diagrams}'[Automatically render generated diagrams using appropriate command]' \
'--plantuml-cmd[Command template to render PlantUML diagram, `{}` will be replaced with diagram name]' \
'--mermaid-cmd[Command template to render MermaidJS diagram, `{}` will be replaced with diagram name]'

5 changes: 4 additions & 1 deletion packaging/autocomplete/clang-uml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ _clanguml() {
-p --progress \
-q --quiet \
-l --list-diagrams \
-r --render_diagrams \
--init \
--add-compile-flag \
--remove-compile-flag \
Expand All @@ -111,7 +112,9 @@ _clanguml() {
--print-from \
--print-to \
--no-validate \
--validate-only' -- $cur ) )
--validate-only \
--plantuml-cmd \
--mermaid-cmd' -- $cur ) )
return
;;
esac
Expand Down

0 comments on commit 4c1cd35

Please sign in to comment.