summaryrefslogtreecommitdiff
path: root/completions/evince
diff options
context:
space:
mode:
Diffstat (limited to 'completions/evince')
-rw-r--r--completions/evince9
1 files changed, 4 insertions, 5 deletions
diff --git a/completions/evince b/completions/evince
index eb6c7305..d50f23c3 100644
--- a/completions/evince
+++ b/completions/evince
@@ -6,9 +6,9 @@ _evince()
_init_completion -s || return
case $prev in
- --help*|-h|--sm-client-id|--class|--name|--screen|--gdk-debug|\
- --gdk-no-debug|--gtk-module|--gtk-debug|--gtk-no-debug|\
- -p|--page-label|-i|--page-index|-l|--find|--display)
+ --help*|--sm-client-id|--class|--name|--screen|--gdk-debug|\
+ --gdk-no-debug|--gtk-module|--gtk-debug|--gtk-no-debug|--page-label|\
+ --page-index|--find|--display|-!(-*)[hpil])
return
;;
--sm-client-state-file)
@@ -20,8 +20,7 @@ _evince()
$split && return
if [[ $cur == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help-all )' \
- -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1" --help-all)' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi