diff options
Diffstat (limited to 'contrib/cups')
-rw-r--r-- | contrib/cups | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cups b/contrib/cups index 0d7ceaba..80c9af54 100644 --- a/contrib/cups +++ b/contrib/cups @@ -6,11 +6,11 @@ _cancel() local cur COMPREPLY=() - cur=`_get_cword` + _get_comp_words_by_ref cur COMPREPLY=( $( compgen -W "$( lpstat | cut -d' ' -f1 )" -- "$cur" ) ) } && -complete -F _cancel $filenames cancel +complete -F _cancel -o filenames cancel # Local variables: # mode: shell-script |