some fixes and additions for optirun completion

Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
This commit is contained in:
Vadim A. Misbakh-Soloviov 2013-08-27 19:28:41 +07:00
parent bfb970cad3
commit 5b15bec0e4
1 changed files with 4 additions and 1 deletions

View File

@ -48,16 +48,19 @@ arguments=(
'--version[output version information]' '--version[output version information]'
'(-h --help)'{-h,--help}'[show help]' '(-h --help)'{-h,--help}'[show help]'
'(-c --vgl-compress)'{-c,--vgl-compress}'[image transport method]:method:(proxy jpeg rgb xb yuv)' '(-c --vgl-compress)'{-c,--vgl-compress}'[image transport method]:method:(proxy jpeg rgb xb yuv)'
'--failsafe[run a program even if the nvidia card is unavailable]' '--failsafe[run a program even if the nvidia card is unavailable]:boolean:(true false)'
'--no-failsafe[do not run a program if the nvidia card is unavailable]' '--no-failsafe[do not run a program if the nvidia card is unavailable]'
'--vgl-options[options to be passed to vglrun (example: +tr)]' '--vgl-options[options to be passed to vglrun (example: +tr)]'
'(-q --quiet --silent)'{-q,--quiet,--silent}'[supress all logging messages]' '(-q --quiet --silent)'{-q,--quiet,--silent}'[supress all logging messages]'
'(-v --verbose)'{-v,--verbose}'[increase the verbosity level of log messages]' '(-v --verbose)'{-v,--verbose}'[increase the verbosity level of log messages]'
'--debug[set the verbosity level to the maximum]' '--debug[set the verbosity level to the maximum]'
'(-b --bridge)'{-b,--bridge}'[specify bridge library to use: VirtualGL, Primus or auto]:method:(auto primus virtualgl none)'
'(-d --display)'{-d,--display}'[the X display number to use]' '(-d --display)'{-d,--display}'[the X display number to use]'
'(-C --config)'{-C,--config}'[retrieve settings for Bumblebee from FILE]:file:_files' '(-C --config)'{-C,--config}'[retrieve settings for Bumblebee from FILE]:file:_files'
'(-l --ldpath)'{-l,--ldpath}'[PATH the libraries like libGL.so are searched in]:file:_files' '(-l --ldpath)'{-l,--ldpath}'[PATH the libraries like libGL.so are searched in]:file:_files'
'--primus-ldpath[a colon-separated list of paths which are searched for the primus libGL.so.1]:file:_files'
'(-s --socket)'{-s,--socket}'[use FILE for communication with the daemon]:file:_files' '(-s --socket)'{-s,--socket}'[use FILE for communication with the daemon]:file:_files'
'--no-xorg[do not start secondary X server (implies -b none)]'
'*::arguments: _normal' '*::arguments: _normal'
) )