Fix phing completion

- remove duplicate options
This commit is contained in:
Shohei YOSHIDA 2026-03-08 21:53:05 +09:00
parent 41aee557c2
commit 6a6e4a9d5f
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,6 @@ _phing() {
# Follow https://www.phing.info/guide/chunkhtml/sec.commandlineargs.html for more information # Follow https://www.phing.info/guide/chunkhtml/sec.commandlineargs.html for more information
_arguments -C \ _arguments -C \
'(-h -help)'{-h,-help}'[display the help screen]' \ '(-h -help)'{-h,-help}'[display the help screen]' \
'(-v -version)'{-v,-version}'[print version information and exit]' \
'(-l -list)'{-l,-list}'[list all available targets in buildfile]' \ '(-l -list)'{-l,-list}'[list all available targets in buildfile]' \
'(-i -init)'{-i,-init}'[generates an initial buildfile]:file:_files' \ '(-i -init)'{-i,-init}'[generates an initial buildfile]:file:_files' \
'(-q -quiet)'{-q,-quiet}'[quiet operation, no output at all]' \ '(-q -quiet)'{-q,-quiet}'[quiet operation, no output at all]' \
@ -63,7 +62,7 @@ _phing() {
'-propertyfileoverride[values in property file override existing values]' \ '-propertyfileoverride[values in property file override existing values]' \
'-find[search for buildfile towards the root of the filesystem and use it]:file:_files' \ '-find[search for buildfile towards the root of the filesystem and use it]:file:_files' \
'-inputhandler[the class to use to handle user input]:class' \ '-inputhandler[the class to use to handle user input]:class' \
'(- *)'{-v,-version}'[show version]' \ '(- *)'{-v,-version}'[show version and exit]' \
'1: :->targets' \ '1: :->targets' \
'*:: :->args' \ '*:: :->args' \
&& ret=0 && ret=0