summaryrefslogtreecommitdiff
path: root/completions/cancel
diff options
context:
space:
mode:
Diffstat (limited to 'completions/cancel')
-rw-r--r--completions/cancel8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/cancel b/completions/cancel
index b903517b..3e0c1d52 100644
--- a/completions/cancel
+++ b/completions/cancel
@@ -14,14 +14,14 @@ _cancel()
return
;;
-u)
- COMPREPLY=( $(compgen -u -- "$cur") )
+ COMPREPLY=($(compgen -u -- "$cur"))
return
;;
esac
- COMPREPLY=( $(compgen -W \
- "$(lpstat 2>/dev/null | cut -d' ' -f1)" -- "$cur") )
+ COMPREPLY=($(compgen -W \
+ "$(lpstat 2>/dev/null | cut -d' ' -f1)" -- "$cur"))
} &&
-complete -F _cancel cancel
+ complete -F _cancel cancel
# ex: filetype=sh