Azure / autorest.powershell

AutoRest PowerShell Generator
MIT License
112 stars 78 forks source link

No description for auto generated parameter "WhatIf" and "Confirm" #1129

Open YanaXu opened 1 year ago

YanaXu commented 1 year ago

In current SDK-based cmdlets, the parameter WhatIf has a "description":

> Get-Help new-azsqlvm -Parameter WhatIf | select Description

Description
-----------
{@{Text=Shows what would happen if the cmdlet runs. The cmdlet is not run.}}

But the parameter WhatIf of the cmdlet generated by autorest does not have a "description":

Get-Help new-azsqlvm -Parameter WhatIf | select Description

Description
-----------

Confirm has the same problem.