mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
parent
c96c2fcd1e
commit
ebbc67df5d
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1432,7 +1432,7 @@ pi.registerFlag("plan", {
|
|||
});
|
||||
|
||||
// Check value
|
||||
if (pi.getFlag("--plan")) {
|
||||
if (pi.getFlag("plan")) {
|
||||
// Plan mode enabled
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue