about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Base/Core/_dispatch1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 832359f07..aee5e2a62 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-17  Bart Schaefer  <schaefer@zsh.org>
+
+	* 16849: Completion/Base/Core/_dispatch: shift off `-s' argument.
+
 2002-03-17  Clint Adams  <clint@zsh.org>
 
 	* 16847: Completion/Unix/Command/_cvs: complete multiple -j's after
diff --git a/Completion/Base/Core/_dispatch b/Completion/Base/Core/_dispatch
index cd6a87171..b33c3b413 100644
--- a/Completion/Base/Core/_dispatch
+++ b/Completion/Base/Core/_dispatch
@@ -7,6 +7,7 @@ local curcontext="$curcontext" service str noskip
 
 if [[ "$1" = -s ]]; then
   noskip=yes
+  shift
 fi
 
 [[ -z "$noskip" ]] && _compskip=