completions: zsh: teach it possible values for -b,--backend and -c,--config

This commit is contained in:
Daniel Eklöf 2019-05-29 20:38:16 +02:00
parent 6513652711
commit b9fa2b17a3

View file

@ -4,6 +4,6 @@ _arguments \
-s \ -s \
'(-v --version)'{-v,--version}'[show the version number and quit]' \ '(-v --version)'{-v,--version}'[show the version number and quit]' \
'(-h --help)'{-h,--help}'[show help message and quit]' \ '(-h --help)'{-h,--help}'[show help message and quit]' \
'(-b --backend)'{-b,--backend}'[backend to use; xcb,wayland,auto (default: auto)]' \ '(-b --backend)'{-b,--backend}'[backend to use (default: auto)]:backend:(xcb wayland auto)' \
'(-c --config)'{-c,--config}'[alternative configuration file]' \ '(-c --config)'{-c,--config}'[alternative configuration file]:filename:_files' \
'(-C --validate)'{-C,--validate}'[verify configuration then quit]' '(-C --validate)'{-C,--validate}'[verify configuration then quit]'