summaryrefslogtreecommitdiff
path: root/completions/kcov
diff options
context:
space:
mode:
Diffstat (limited to 'completions/kcov')
-rw-r--r--completions/kcov10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/kcov b/completions/kcov
index 5d067778..8490a969 100644
--- a/completions/kcov
+++ b/completions/kcov
@@ -11,8 +11,8 @@ _kcov()
return
;;
--sort-type|-s)
- COMPREPLY=( $( compgen -W 'filename percent reverse lines
- uncovered' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W 'filename percent reverse lines
+ uncovered' -- "$cur") )
return
;;
--include-path|--exclude-path)
@@ -33,11 +33,11 @@ _kcov()
if [[ "$cur" == ?*,* ]]; then
prev="${cur%,*}"
cur="${cur##*,}"
- COMPREPLY=( $( compgen -W "{0..100}" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "{0..100}" -- "$cur") )
[[ ${#COMPREPLY[@]} -eq 1 ]] && \
COMPREPLY=( ${COMPREPLY/#/$prev,} )
else
- COMPREPLY=( $( compgen -W "{0..100}" -- "$cur" ) )
+ COMPREPLY=( $(compgen -W "{0..100}" -- "$cur") )
[[ ${#COMPREPLY[@]} -eq 1 ]] && COMPREPLY=( ${COMPREPLY/%/,} )
compopt -o nospace
fi
@@ -52,7 +52,7 @@ _kcov()
$split && return
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" --help )' -- "$cur" ) )
+ COMPREPLY=( $(compgen -W '$(_parse_help "$1" --help)' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi