Skip to content

fix(docs): ignore placeholder arguments in README command examples - #7625

Merged
dan-petty merged 1 commit into
mainfrom
fix/7526-ignore-placeholder-arguments-in-readme
Nov 28, 2026
Merged

dan-petty merged 1 commit into
mainfrom
fix/7526-ignore-placeholder-arguments-in-readme

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

In #7526, devops docs check fails on README.md command examples that contain multi-word angle-bracket placeholders such as --plan <plan id>. _tokenize_command in src/devops_cli/docs/markdown_argv_collector.py splits unquoted whitespace with shlex.split before _argv_token checks is_placeholder, turning <plan id> into <plan and id> and reporting id> as an unexpected extra argument.

Closes #7526

Change: openspec/changes/archive/2026-11-28-7526-ignore-placeholder-arguments-in-readme/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/docs Documents, guides, ADRs and generated references labels Nov 28, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 28, 2026 19:32
@dan-petty
dan-petty merged commit 6c14c10 into main Nov 28, 2026
27 checks passed
@dan-petty
dan-petty deleted the fix/7526-ignore-placeholder-arguments-in-readme branch November 28, 2026 19:47
dan-petty-release Bot added a commit that referenced this pull request Nov 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.240.0](v0.239.0...v0.240.0)
(2026-11-28)


### Features

* **gh:** delegate gh issue view, list, status and create to gh
([#7626](#7626))
([91b805b](91b805b)),
closes [#4848](#4848)
* **monitoring:** apply Grafana design colors and unit rules
([#7623](#7623))
([aa539b0](aa539b0))


### Bug Fixes

* **docs:** ignore placeholder arguments in README command examples
([#7625](#7625))
([6c14c10](6c14c10))
* **roadmap:** plan-check --repo reads target repo and title check
([#7627](#7627))
([7df067e](7df067e))
* **security:** judge KSV-0001 in kubernetes_adversary.yaml
([#7624](#7624))
([b898729](b898729))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/docs Documents, guides, ADRs and generated references type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(docs): ignore placeholder arguments in README command examples

1 participant