summaryrefslogtreecommitdiff
path: root/completions/apache2ctl
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
committerGabriel F. T. Gomes <gabriel@inconstante.eti.br>2017-09-25 23:46:54 -0300
commit6d88f1055806932d9291f96847d2b691cccda2cd (patch)
tree0ff79eedaa8a239331256048981deedbd0721965 /completions/apache2ctl
parent059a87a5936cfebfd2d71ab8057002cafb2ea051 (diff)
downloadbash-completion-6d88f1055806932d9291f96847d2b691cccda2cd.tar.gz
New upstream version 2.7upstream/2.7
Diffstat (limited to 'completions/apache2ctl')
-rw-r--r--completions/apache2ctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/apache2ctl b/completions/apache2ctl
index f6fdeb30..74789744 100644
--- a/completions/apache2ctl
+++ b/completions/apache2ctl
@@ -6,11 +6,11 @@ _apache2ctl()
_init_completion || return
local APWORDS
- APWORDS=$(apache2ctl 2>&1 >/dev/null | awk 'NR<2 { print $3; exit }' | \
+ APWORDS=$($1 2>&1 >/dev/null | awk 'NR<2 { print $3; exit }' | \
tr "|" " ")
COMPREPLY=( $( compgen -W "$APWORDS" -- "$cur" ) )
} &&
complete -F _apache2ctl apache2ctl
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh