无法识别的参数:–html

unrecognized arguments: –html

我正在尝试使用 Azure 应用服务创建应用程序。

但是,显示上面的错误:unrecognized arguments: –html

我使用的命令是az webapp up --location AustraliaEast --name learmingapp –html.

I use the command to update and display my website with a new header. However, it shows the above error: unrecognized arguments: –html

要解决上述问题,请在您的脚本中使用 -html 而不是需要使用 --html[=37= 的参数] 也按照@Ash 的建议,将其作为答案发布以帮助其他社区成员解决类似问题。

例如:- az webapp up --location AustraliaEast --name learmingapp --html

供参考的屏幕截图:-

有关更多信息,请参阅此 MICROSOFT DOCUMENTATION

感谢您帮我解决这个问题。

正确。

az webapp up --location AustraliaEast --name learmingapp --html