summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Command/_php2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 272884d12..c94faad3a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-15  Eric Cook  <llua@gmx.com>
+
+	* 37975: Completion/Unix/Command/_php: allow completion after
+	the first non-option argument.
+
 2016-02-14  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* 37898: Completion/compinstall: fix typo in completer menu
diff --git a/Completion/Unix/Command/_php b/Completion/Unix/Command/_php
index 4edcd1e57..0e840032f 100644
--- a/Completion/Unix/Command/_php
+++ b/Completion/Unix/Command/_php
@@ -43,7 +43,7 @@ args+=(
   '(-)*::script argument: _normal'
 )
 
-_arguments -C -s -S -A "-*" "$args[@]" && return 0
+_arguments -C -s -S "$args[@]" && return 0
 
 case $state in
   directive)