Skip to content

[Reference feedback]: az acr run - is SOURCE_LOCATION optional or not? #32065

@RichardJBlack

Description

@RichardJBlack

Type of issue

Other (describe below)

Reference command name

az acr run -r blah --cmd "acr purge --help"

Feedback

The documentation at https://learn.microsoft.com/en-us/cli/azure/acr?view=azure-cli-lts#az-acr-run lists SOURCE_LOCATION under the optional parameters. However the tool seems to demand that it is present, and accepts the string /dev/null if it is not actually needed.

It would be preferable to make it optional if it is optional, or to clarify both the documentation, and the error message from the tool if it is truly required. The use of /dev/null for an irrelevant non-optional optional parameter is particularly non-obvious on a Windows system.

Page URL

https://learn.microsoft.com/en-us/cli/azure/acr?view=azure-cli-lts#az-acr-run

Content source URL

No response

Author

No response

Document Id

No response

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botContainer Registryaz acrService AttentionThis issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions