summaryrefslogtreecommitdiff
path: root/completions/gprof
diff options
context:
space:
mode:
Diffstat (limited to 'completions/gprof')
-rw-r--r--completions/gprof11
1 files changed, 5 insertions, 6 deletions
diff --git a/completions/gprof b/completions/gprof
index b9692bad..d1f4a4a3 100644
--- a/completions/gprof
+++ b/completions/gprof
@@ -17,8 +17,8 @@ _gprof()
;;
-O*)
cur=${cur:2}
- COMPREPLY=( $( compgen -P -O -W 'auto bsd 4.4bsd magic prof' \
- -- "$cur" ) )
+ COMPREPLY=( $(compgen -P -O -W 'auto bsd 4.4bsd magic prof' \
+ -- "$cur") )
return
;;
esac
@@ -36,8 +36,7 @@ _gprof()
return
;;
--file-format)
- COMPREPLY=( $( compgen -W 'auto bsd 4.4bsd magic prof' \
- -- "$cur" ) )
+ COMPREPLY=( $(compgen -W 'auto bsd 4.4bsd magic prof' -- "$cur") )
return
;;
esac
@@ -45,7 +44,7 @@ _gprof()
$split && return
if [[ $cur == -* ]]; then
- COMPREPLY=( $( compgen -W '--annotated-source --brief --exec-counts
+ COMPREPLY=( $(compgen -W '--annotated-source --brief --exec-counts
--file-info --directory-path --no-annotated-source --print-path
--flat-profile --no-flat-profile --graph --no-graph --table-length=
--separate-files --no-exec-counts --function-ordering
@@ -53,7 +52,7 @@ _gprof()
--no-demangle --no-static --static-call-graph
--ignore-non-functions -k --line --min-count= --time= --no-time=
--external-symbol-table= --display-unused-functions --debug --help
- --file-format= --sum --version' -- "$cur" ) )
+ --file-format= --sum --version' -- "$cur") )
[[ $COMPREPLY == *= ]] && compopt -o nospace
return
fi