diff options
author | Oliver Kiddle <opk@zsh.org> | 2021-07-09 00:23:52 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2021-07-09 00:23:52 +0200 |
commit | e6fdd35a83881a957ac206b4e128886d07f37c71 (patch) | |
tree | 3b5c1128104ee38544c89e10329be417f057bb78 /Completion/X/Command/_pdftk | |
parent | bffe543142978b036621291dcfe08771ad6b4bda (diff) | |
download | zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.tar.gz zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.tar.xz zsh-e6fdd35a83881a957ac206b4e128886d07f37c71.zip |
49150: consistently use singular form for headings on completion match groups
Diffstat (limited to 'Completion/X/Command/_pdftk')
-rw-r--r-- | Completion/X/Command/_pdftk | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Completion/X/Command/_pdftk b/Completion/X/Command/_pdftk index b8c43f754..1ac3223f7 100644 --- a/Completion/X/Command/_pdftk +++ b/Completion/X/Command/_pdftk @@ -24,7 +24,7 @@ case $words[CURRENT-1] in (allow) #_description permissions expl "permission" #compadd $expl \ - _values -s , permissions \ + _values -s , permission \ Printing DegradedPrinting ModifyContents Assembly CopyContents \ ScreenReaders ModifyAnnotations FillIn AllFeatures ;; @@ -34,12 +34,12 @@ case $words[CURRENT-1] in ;; (fill_form) - _description files expl 'FDF and XFDF files' + _description files expl 'FDF and XFDF file' _files "$@" $expl -g '(#i)*.(fdf|xfdf)' ;; ((multibackground|background|stamp|multistamp|output)) - _description files expl 'PDF files' + _description files expl 'PDF file' _files "$@" $expl -g '(#i)*.pdf' ;; @@ -53,11 +53,11 @@ case $words[CURRENT-1] in esac && return 0 if [[ -n $words[(r)(${(j:|:)operations})] ]]; then - _description options expl "options" + _description options expl "option" compadd $@ $expl $opts else _tags files operations _alternative \ - 'files:PDF files:_pdfwithhandle' \ - "operations:operations:($operations)" + 'files:PDF file:_pdfwithhandle' \ + "operations:operation:($operations)" fi |