1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 04:40:59 +01:00

manual/9897

This commit is contained in:
Tanaka Akira 2000-02-28 10:00:25 +00:00
parent 8fb50dcf4f
commit d726746c3d
17 changed files with 65 additions and 33 deletions

View file

@ -67,7 +67,7 @@ if (( long )); then
# those hyphens and anything from the space or comma after the
# option up to the end.
lopts=("--${(@)^${(@)${(@)${(@M)${(@ps:\n:j:\n:)${(@)${(@M)${(@f)$(${~words[1]} --help 2>&1)//\[--/
lopts=("--${(@)^${(@)${(@)${(@M)${(@ps:\n:j:\n:)${(@)${(@M)${(@f)$(_call options ${~words[1]} --help 2>&1)//\[--/
--}:#[ ]#-*}//,/
}}:#[ ]#--*}#*--}%%[], ]*}:#}")
lopts=( "${(@)lopts:#--}" )