summaryrefslogtreecommitdiff
path: root/completion/pdfgrep
diff options
context:
space:
mode:
Diffstat (limited to 'completion/pdfgrep')
-rw-r--r--completion/pdfgrep9
1 files changed, 7 insertions, 2 deletions
diff --git a/completion/pdfgrep b/completion/pdfgrep
index 372f76e..e156004 100644
--- a/completion/pdfgrep
+++ b/completion/pdfgrep
@@ -1,6 +1,6 @@
# Bash completion for pdfgrep
#
-# Copyright (C) 2017 by Hans-Peter Deifel (hpd@hpdeifel.de)
+# Copyright (C) 2015-2018 by Hans-Peter Deifel (hpd@hpdeifel.de)
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -29,6 +29,8 @@ _pdfgrep()
-P --perl-regexp \
-H --with-filename \
-h --no-filename \
+ -l --files-with-matches \
+ -L --files-without-match \
-c --count \
-p --page-count \
-C --context \
@@ -39,6 +41,7 @@ _pdfgrep()
-r -R --recursive \
--exclude \
--include \
+ --page-range \
--help \
-V --version \
-q --quiet \
@@ -49,13 +52,15 @@ _pdfgrep()
--debug \
--warn-empty \
--unac \
+ -e --regexp \
+ -f --file \
)
case "${prev}" in
--color)
COMPREPLY=( $(compgen -W "always never auto" -- ${cur}) )
;;
- --exclude|--include|--password|-m|--max-count|--match-prefix-separator)
+ --exclude|--include|--password|-m|--max-count|--match-prefix-separator|--page-range|-e|--regexp|-f|--file)
COMPREPLY=( )
;;
*)