docs(coding-agent): fix extension flag lookup docs

closes #3614
This commit is contained in:
Mario Zechner
2026-04-24 11:39:55 +02:00
parent c96c2fcd1e
commit ebbc67df5d
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,10 @@
## [Unreleased]
### Fixed
- Fixed extension flag docs to show `pi.getFlag()` using registered flag names without the CLI `--` prefix ([#3614](https://github.com/badlogic/pi-mono/issues/3614))
## [0.70.0] - 2026-04-23
### New Features

View File

@@ -1432,7 +1432,7 @@ pi.registerFlag("plan", {
});
// Check value
if (pi.getFlag("--plan")) {
if (pi.getFlag("plan")) {
// Plan mode enabled
}
```