Fix bug introduced in 3e6040e01

I can't call a function from _arguments
This commit is contained in:
Aljaž "g5pw" Srebrnič 2013-04-02 21:41:40 +02:00
parent 3e6040e01d
commit 7b412ed1ba
1 changed files with 7 additions and 1 deletions

View File

@ -73,8 +73,14 @@ _port() {
'-y[Perform a dry run.]' \
'-t[enable trace mode debug facilities on platforms that support it (Mac OS X).]' \
"1:Port actions:($actions)" \
'*:extra:_port_dispatch' \
'*:extra:->extra' \
&& return 0
case "$state" in
extra)
_port_dispatch
;;
esac
}
_port_dispatch() {