completion/_katarakt
raw| 1 | #compdef katarakt |
| 2 | |
| 3 | _arguments \ |
| 4 | '(-h --help)'{-u,--url}'[open a URL instead of a local file]::' \ |
| 5 | '(-h --help)'{-p,--page}+'[specify page to display]:specify page (1-indexed):' \ |
| 6 | '(-h --help)'{-f,--fullscreen}'[start in fullscreen]' \ |
| 7 | '(-h --help)'{-q,--quit}'[quit on initialization error]' \ |
| 8 | '(-p --page -f --fullscreen -q --quit -u --url)'{-h,--help}'[print help and exit]' \ |
| 9 | '*:pdf documents:_files -g "*.pdf"' |