[Reference feedback]: az acr run - is SOURCE_LOCATION optional or not?
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.