Skip to content

Customer feedback | az bicep publish | quoting error in example #30335

Description

@dbradish-microsoft

Describe the bug

This issue is being moved from MicrosoftDocs/azure-docs-cli issue 4766.


Engineering request

Please fix the quoting error seen in this example. The parameter --force should be OUTSIDE the double quotes.
Image

Customer feedback

Type of issue

Code doesn't work

Feedback

Code sample:
az bicep publish --file {bicep_file} --target "br:{registry}/{module_path}:{tag} --force"

--force shall be out side of ""

Page URL

https://learn.microsoft.com/en-us/cli/azure/bicep?view=azure-cli-latest

Content source URL

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/latest/docs-ref-autogen/bicep.yml

Document Id

60edc003-8f74-62af-e9fd-79efb5a77d9f

Related command

az bicep publish

Errors

.

Issue script & Debug output

.

Expected behavior

.

Environment Summary

Azure CLI 2.66.0

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botAzure Deploymentsaz deployment/bicep/stack/deployment-scripts/ts/group exportDocumentationService AttentionThis issue is responsible by Azure service team.act-codegen-extensibility-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions