completions: --pages

This commit is contained in:
James R. Barlow
2019-07-27 04:26:38 -07:00
parent 0c066d1d53
commit b0f1a55537
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ _ocrmypdf()
COMPREPLY=( $( compgen -W '{1..13}' -- "$cur" ) )
return
;;
--sidecar|--title|--author|--subject|--keywords|--unpaper-args)
--sidecar|--title|--author|--subject|--keywords|--unpaper-args|--pages)
# argument required but no completions available
return
;;
+1
View File
@@ -78,6 +78,7 @@ complete -c ocrmypdf -x -l jpeg-quality -d "JPEG quality [0..100]"
complete -c ocrmypdf -x -l png-quality -d "PNG quality [0..100]"
complete -c ocrmypdf -x -l jbig2-lossy -d "enable lossy JBIG2 (see docs)"
complete -c ocrmypdf -x -l max-image-mpixels -d "image decompression bomb threshold"
complete -c ocrmypdf -x -l pages -d "apply OCR to only the specified pages"
complete -c ocrmypdf -x -l tesseract-config -d "set custom tesseract config file"
function __fish_ocrmypdf_tesseract_pagesegmode