about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Base/_arguments5
2 files changed, 5 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b72442be1..e14bf2215 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-27  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
 
+	* 10967: Completion/Base/_arguments: fix for automatic
+ 	option-argument completion with partially typed option in _arguments
+	
 	* 10965: and Felix: 10952: Completion/User/_urls,
  	Doc/Zsh/compsys.yo: document _wanted -C; fix for call to _wanted
  	in _urls
diff --git a/Completion/Base/_arguments b/Completion/Base/_arguments
index 9308bce71..77fbf534c 100644
--- a/Completion/Base/_arguments
+++ b/Completion/Base/_arguments
@@ -346,10 +346,9 @@ if (( $# )) && comparguments "$multi[@]" "$autod" "$@"; then
 	IPREFIX="${IPREFIX}${equal[1]%%:*}="
 	matched=yes
 
-	comparguments -L "${equal[1]%%:*}" descr action subc
-	curcontext="${oldcontext%:*}:$subc"
+	comparguments -L "${equal[1]%%:*}" descrs actions subcs
 
-	_tags arguments
+	_tags "$subcs[@]"
 
 	continue
       fi