Skip to content

docs: fix bicep publish force example#33517

Open
titanniya542-spec wants to merge 1 commit into
Azure:devfrom
titanniya542-spec:fix/bicep-publish-force-help
Open

docs: fix bicep publish force example#33517
titanniya542-spec wants to merge 1 commit into
Azure:devfrom
titanniya542-spec:fix/bicep-publish-force-help

Conversation

@titanniya542-spec

Copy link
Copy Markdown

Summary

  • Move --force outside the quoted --target value in the az bicep publish help example.
  • This updates the Azure CLI source help so generated docs keep the corrected syntax.

Fixes #32786.
Follow-up to MicrosoftDocs/azure-docs-cli#6015, where the generated docs were corrected and maintainers noted the source should be updated here.

Testing

  • rg -n "az bicep publish --file \{bicep_file\} --target" src\azure-cli\azure\cli\command_modules\resource\_help.py
  • git diff --check

AI disclosure

This pull request was prepared with assistance from OpenAI Codex.

Copilot AI review requested due to automatic review settings June 9, 2026 10:14
@azure-client-tools-bot-prd

Copy link
Copy Markdown
Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd

Copy link
Copy Markdown
Validation for Breaking Change Starting...

Thanks for your contribution!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Fixes an az bicep publish help example where the --force flag was incorrectly included inside the --target string.

Changes:

  • Corrected quoting/argument placement for the --force flag in the “overwrite existing tag” example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yonzhan

yonzhan commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

bicep

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

Successfully merging this pull request may close these issues.

Documentation for "az bicep publish" has a typo in the examples

4 participants