about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-08-13 10:57:43 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-08-13 10:57:43 +0000
commitd679322cf9af4e654d9c8d3f04856a8fce5b4988 (patch)
treec15dd2ed9cd43d77be3f6461018dc590339f219e
parent17ca9022afa23854c29c2d0e6cc9fc94a99ab820 (diff)
downloadzsh-d679322cf9af4e654d9c8d3f04856a8fce5b4988.tar.gz
zsh-d679322cf9af4e654d9c8d3f04856a8fce5b4988.tar.xz
zsh-d679322cf9af4e654d9c8d3f04856a8fce5b4988.zip
-[12n] options don't get arguments (15615)
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_path_files2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f914a0d1..76a6cfecd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-08  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 15615: Completion/Unix/Type/_path_files: -[12n] options don't
+	get arguments
+
 2001-08-12  Bart Schaefer  <schaefer@zsh.org>
 
 	* Peter Breitenlohner: 14956: Makefile.in, Doc/Makefile.in,
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 1bf91caf2..b635a8ab9 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -17,7 +17,7 @@ exppaths=()
 zparseopts -a mopts \
     'P:=pfx' 'S:=pfxsfx' 'q=pfxsfx' 'r:=pfxsfx' 'R:=pfxsfx' \
     'W:=prepaths' 'F:=ignore' 'M+:=matcher' \
-    J+: V+: X+: 1: 2: n: 'f=tmp1' '/=tmp1' 'g+:-=tmp1'
+    J+: V+: X+: 1 2 n 'f=tmp1' '/=tmp1' 'g+:-=tmp1'
 
 sopt="-${(@j::M)${(@)tmp1#-}#?}"
 (( $tmp1[(I)-[/g]*] )) && haspats=yes