From: Thomas Lamprecht Date: Mon, 22 Jan 2018 10:00:07 +0000 (+0100) Subject: CLIHandler: use resolved command definition X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=b8dc43668bb64a28dd00b14022302ec8d932deff;hp=b8dc43668bb64a28dd00b14022302ec8d932deff;p=pve-common.git CLIHandler: use resolved command definition For sub commands we resolve the real $cmd, $def and its arguments, thus we should also get the handler from the resolved $def, not the global one. No change for normal (consisting of only the first argument) commands, for them $cmddef == $def. This sneaked in in a respin/rebase of the series. Signed-off-by: Thomas Lamprecht ---