mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
@@ -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
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user