summaryrefslogtreecommitdiff
path: root/completions/kcov
diff options
context:
space:
mode:
Diffstat (limited to 'completions/kcov')
-rw-r--r--completions/kcov14
1 files changed, 7 insertions, 7 deletions
diff --git a/completions/kcov b/completions/kcov
index e0f37fdb..ebbd803c 100644
--- a/completions/kcov
+++ b/completions/kcov
@@ -1,4 +1,4 @@
-# kcov completion -*- shell-script -*-
+# kcov(1) completion -*- shell-script -*-
_kcov()
{
@@ -8,29 +8,29 @@ _kcov()
case "$prev" in
--pid|-p)
_pids
- return 0
+ return
;;
--sort-type|-s)
COMPREPLY=( $( compgen -W 'filename percentage' -- "$cur" ) )
- return 0
+ return
;;
--include-path|--exclude-path)
_filedir
- return 0
+ return
;;
--limits|-l|--title|-t|--include-pattern|--exclude-pattern|\
--path-strip-level)
# argument required but no completions available
- return 0
+ return
;;
esac
- $split && return 0
+ $split && return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' -- "$cur" ) )
[[ $COMPREPLY == *= ]] && compopt -o nospace
- return 0
+ return
fi
_filedir