Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az configure docs example syntax #695

Closed
nkiraly opened this issue Mar 22, 2018 — with docs.microsoft.com · 0 comments
Closed

az configure docs example syntax #695

nkiraly opened this issue Mar 22, 2018 — with docs.microsoft.com · 0 comments

Comments

Copy link

nkiraly commented Mar 22, 2018

The az configure --defaults description and example is not correct, directing users to use extraneous quotes.
az configure --help is correct in it's examples where the key=value pairs are not in one quoted string.

Using azure-cli-2.0.29,
az configure --defaults "location=westus2 group=MyResourceGroup"
results in
$ cat ~/.azure/config
[defaults]
location = westus2 group=MyResourceGroup

where as,
az configure --defaults location=westus2 group=MyResourceGroup
results in
$ cat ~/.azure/config
[defaults]
location = westus2
group = MyResourceGroup


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

sptramer added a commit that referenced this issue Mar 22, 2018
Remove quotes around configuration settings. [Fixes #695]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant