azure-cli-dev-tools icon indicating copy to clipboard operation
azure-cli-dev-tools copied to clipboard

The deprecate and hide argument is forced to add help

Open zhoxing-ms opened this issue 4 years ago • 0 comments

The declaration of argument is as follows:

c.argument('socket_timeout', deprecate_info=c.deprecate(hide=True))

The check error of CLI linter

-  FAIL: missing_parameter_help
    Parameter: storage blob upload, `socket_timeout` - Missing help

But in this scenario, help is not shown to the customers, so its existence is meaningless

zhoxing-ms avatar Jul 13 '20 06:07 zhoxing-ms