Treat --*path* like --*file* in _longopt().

This commit is contained in:
Ville Skyttä 2010-10-23 14:15:32 +03:00
parent 75b232ad3f
commit 57720ee0be

View File

@ -1491,10 +1491,10 @@ _longopt()
if _split_longopt; then
case "$prev" in
*[Dd][Ii][Rr]*)
--*[Dd][Ii][Rr]*)
_filedir -d
;;
*[Ff][Ii][Ll][Ee]*)
--*[Ff][Ii][Ll][Ee]*|--*[Pp][Aa][Tt][Hh]*)
_filedir
;;
esac