about summary refs log tree commit diff
path: root/Completion/Commands/_complete_help
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Commands/_complete_help')
-rw-r--r--Completion/Commands/_complete_help2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Commands/_complete_help b/Completion/Commands/_complete_help
index 2d2ba52d9..593a2983e 100644
--- a/Completion/Commands/_complete_help
+++ b/Completion/Commands/_complete_help
@@ -1,7 +1,7 @@
 #compdef -k complete-word \C-xh
 
 _complete_help() {
-  setopt localoptions $_comp_options
+  setopt localoptions ${_comp_options[@]}
 
   exec </dev/null	# ZLE closes stdin, which can cause errors