in azure-cli 2.2.0, when add '--output table' option, encounter an error. It doesn't exist in old version 2.0.*
azure-cli : 2.2.0
When run command:
az aks get-upgrades --resource-group
Please refer to the screenshot as below:

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Azure/aks-pm.
aks
I'm not able to reproduce this on 2.3.1
➜ ~ az aks get-upgrades -g contosofin-rg -n contosofinaks --output table
Name ResourceGroup MasterVersion Upgrades
------- --------------- --------------- -----------------------
default contosofin-rg 1.16.1 1.16.7, 1.17.3(preview)
Could you try an upgrade and repro?
Hello! Please try again with the latest Azure CLI version. Feel free to reopen an issue if it still doesn't work. https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest