zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: Tiny fix to zrecompile
@ 2000-09-03 20:19 Bart Schaefer
  2000-09-03 21:20 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Bart Schaefer @ 2000-09-03 20:19 UTC (permalink / raw)
  To: zsh-workers

The -p option didn't work properly when the first word after it was an
option for the zcompile command; getopts would fail with "bad option".

Index: Functions/Misc/zrecompile
===================================================================
@@ -37,7 +37,7 @@
 
 local opt check quiet zwc files re file pre ret map tmp mesg pats
 
-while getopts "tqp" opt; do
+while getopts ":tqp" opt; do
   case $opt in
   t) check=yes ;;
   q) quiet=yes ;;

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-09-03 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-03 20:19 PATCH: Tiny fix to zrecompile Bart Schaefer
2000-09-03 21:20 ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).