Treat --*path* like --*file* in _longopt().
This commit is contained in:
parent
75b232ad3f
commit
57720ee0be
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user