Treat --*path* like --*file* in _longopt().
This commit is contained in:
parent
75b232ad3f
commit
57720ee0be
@ -1491,10 +1491,10 @@ _longopt()
|
|||||||
|
|
||||||
if _split_longopt; then
|
if _split_longopt; then
|
||||||
case "$prev" in
|
case "$prev" in
|
||||||
*[Dd][Ii][Rr]*)
|
--*[Dd][Ii][Rr]*)
|
||||||
_filedir -d
|
_filedir -d
|
||||||
;;
|
;;
|
||||||
*[Ff][Ii][Ll][Ee]*)
|
--*[Ff][Ii][Ll][Ee]*|--*[Pp][Aa][Tt][Hh]*)
|
||||||
_filedir
|
_filedir
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user