From 7b412ed1bae9d1e06180f2003b5b421f2b17eb0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aljaz=CC=8C=20=22g5pw=22=20Srebrnic=CC=8C?= Date: Tue, 2 Apr 2013 21:41:40 +0200 Subject: [PATCH] Fix bug introduced in 3e6040e01 I can't call a function from _arguments --- src/_port | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/_port b/src/_port index f1d64ff..859d21a 100644 --- a/src/_port +++ b/src/_port @@ -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() {