Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@raphael
Copy link
Member

@raphael raphael commented Oct 11, 2025

Fix CLI templates to emit examples using quoted strings:

  • usage_examples.go.tpl: emit examples via printf %q
  • command_usage.go.tpl: emit examples via printf %q

This prevents raw backtick conflicts and fmt 'MISSING' artifacts when examples contain backticks or % characters.

Updated affected golden files and verified with 'make test'.

@raphael raphael enabled auto-merge (squash) October 11, 2025 21:25
@raphael raphael merged commit bc7acc1 into v3 Oct 11, 2025
7 checks passed
@raphael raphael deleted the cli/examples-escape-examples branch October 11, 2025 21:29
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.

1 participant