about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2002-03-17 18:03:06 +0000
committerBart Schaefer <barts@users.sourceforge.net>2002-03-17 18:03:06 +0000
commitd20d4275727c9c7c1c9588edef1c2dbdae2e0e80 (patch)
treec922bba4c6995fbc39d28c8fe3b2c5bbede78558
parent35352d833b5b2cc603a51e81ecfb52a8d65175e1 (diff)
downloadzsh-d20d4275727c9c7c1c9588edef1c2dbdae2e0e80.tar.gz
zsh-d20d4275727c9c7c1c9588edef1c2dbdae2e0e80.tar.xz
zsh-d20d4275727c9c7c1c9588edef1c2dbdae2e0e80.zip
16849: shift off `-s' argument.
-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=