Change the name of the zsh completion for "--target=".

This commit is contained in:
Username404 2021-03-30 16:16:53 +02:00
parent d0c3cedfb2
commit b02f2eaffd
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ _ybcon() {
_arguments \ _arguments \
'( - 1)'{-h,--help}'[Print the help screen]' \ '( - 1)'{-h,--help}'[Print the help screen]' \
'( - 1)'--version'[Print the version]' \ '( - 1)'--version'[Print the version]' \
'( - 1)'--target='[Set the transpilation target]:opt:(lua js py)' \ '( - 1)'--target='[Set the transpilation target]:language:(lua js py)' \
'( - 1)'{-p,--printresult}'[Enable printing the transpilation result to stdout]' \ '( - 1)'{-p,--printresult}'[Enable printing the transpilation result to stdout]' \
"*:$completeyfile" "*:$completeyfile"
return 0 return 0