mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-28 17:20:47 +08:00
Add --completion={bash,zsh,fish} (#11818)
Make `--bash-completion` an alias of `--completion=bash`. Reorganize option parsing code using a new data structure OptionSpec, which can encode the type of completion needed by each option. Add new unexported module Text.Pandoc.Completion. Unexported module Text.Pandoc.CommandLineOptions: export OptionSpec. Closes #8542.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user