Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Tiny fix to zrecompile
- X-seq: zsh-workers 12726
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: PATCH: Tiny fix to zrecompile
- Date: Sun, 3 Sep 2000 20:19:05 +0000
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author