Skip to content

az CLI resolves partial argument names e.g. --resource is getting resolved to --resource-group #22479

@banibrata

Description

@banibrata

This is autogenerated. Please review and update as needed.

Describe the bug

CLI should not resolves partial argument to other arguments, it should be absolute. Could cause confusion for users , as there could be multiple argument names starting with the same root name (e.g. resource-group, resource-type etc). It could also break automation due to side effects

Command Name
``

Errors:


To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • ``

Expected Behavior

Environment Summary

Linux-5.10.102.1-microsoft-standard-WSL2-x86_64-with-debian-buster-sid, Ubuntu 18.04.6 LTS
Python 3.7.9
Installer: PIP

azure-cli 2.36.0

Extensions:
ml Unknown
machinelearningservices Unknown

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

Metadata

Metadata

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupact-identity-squadfeature-request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions