summaryrefslogtreecommitdiff
path: root/completions/checksec
diff options
context:
space:
mode:
Diffstat (limited to 'completions/checksec')
-rw-r--r--completions/checksec10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/checksec b/completions/checksec
index e07d07d0..fc2fef79 100644
--- a/completions/checksec
+++ b/completions/checksec
@@ -6,10 +6,10 @@ _checksec()
_init_completion || return
case $prev in
- --version|--help)
+ --version | --help)
return
;;
- --file|--fortify-file)
+ --file | --fortify-file)
_filedir
return
;;
@@ -21,17 +21,17 @@ _checksec()
_pnames
return
;;
- --proc-libs|--fortify-proc)
+ --proc-libs | --fortify-proc)
_pids
return
;;
esac
if [[ $cur == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
return
fi
} &&
-complete -F _checksec checksec
+ complete -F _checksec checksec
# ex: filetype=sh