mirror of
git://git.code.sf.net/p/zsh/code
synced 2026-01-02 08:21:09 +01:00
unposted: Use alternation patterns rather than brace expansion
(Cf. discussion on GitLab !12.)
This commit is contained in:
parent
ab835f0c37
commit
8498f8864e
3 changed files with 9 additions and 3 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2020-05-07 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* unposted: Completion/Debian/Command/_dscverify,
|
||||
Completion/Unix/Command/_pandoc: Use alternation patterns rather
|
||||
than brace expansion
|
||||
|
||||
2020-05-05 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 45764: Test/D07multibyte.ztst: Add a regression test for 45772.
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ _dscverify() {
|
|||
'--help[show the help message and exit]'
|
||||
'--version[show the version + copyright and exit]'
|
||||
'--no-default-keyrings[do not check against the default keyrings]'
|
||||
'*--keyring[add keyring to the list of keyrings used]:keyring:_files -g "*.{kbx,gpg}(-.)"'
|
||||
'*--keyring[add keyring to the list of keyrings used]:keyring:_files -g "*.(kbx|gpg)(-.)"'
|
||||
'(--nosigcheck --no-sig-check -u)'{--nosigcheck,--no-sig-check,-u}'[do not verify the GPG signature]'
|
||||
'--verbose[do not suppress GPG output]'
|
||||
'*:dsc file:_files -g "*.{changes,dsc,buildinfo}(-.)"'
|
||||
'*:dsc file:_files -g "*.(changes|dsc|buildinfo)(-.)"'
|
||||
)
|
||||
|
||||
local first_only=(
|
||||
|
|
|
|||
|
|
@ -391,7 +391,7 @@ _arguments -C \
|
|||
'--epub-chapter-level=[specify the header level at which to split the EPUB into separate "chapter" files]:number:_pandoc_header_level' \
|
||||
'--pdf-engine=[use the specified engine when producing PDF output]:program:_pandoc_pdf_engine' \
|
||||
'*--pdf-engine-opt=[use the given string as a command-line argument to the pdf-engine]:string:_pandoc_pdf_engine_opts' \
|
||||
'*--bibliography=[set the bibliography field in the document'"'"'s metadata to FILE]:file:{_files -g "*.{bib,bibtex,copac,json,yaml,enl,xml,wos,medline,mods,ris}"}' \
|
||||
'*--bibliography=[set the bibliography field in the document'"'"'s metadata to FILE]:file:{_files -g "*.(bib|bibtex|copac|json|yaml|enl|xml|wos|medline|mods|ris)"}' \
|
||||
'--csl=[set the csl field in the document'"'"'s metadata to FILE]:file:{_files -g "*.csl"}' \
|
||||
'--citation-abbreviations=[set the citation-abbreviations field in the document'"'"'s metadata to FILE]:file:_files' \
|
||||
'--natbib[use natbib for citations in LaTeX output]' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue