-
Notifications
You must be signed in to change notification settings - Fork 782
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wrangler): Display correct global flags in
wrangler pages --help
`wrangler pages --help` currently displays a list of global flags that are not all supported by Pages, such as `--env`, `--config`, and `--experimental-json-config`. This commit ensure that only flags that apply to Pages are listed when running `--help`. Fixes #5725
- Loading branch information
1 parent
97741db
commit 9eb077d
Showing
7 changed files
with
91 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
"wrangler": minor | ||
--- | ||
|
||
fix: Display correct global flags in `wrangler pages --help` | ||
|
||
Running `wrangler pages --help` will list, amongst others, the following global flags: | ||
|
||
``` | ||
-j, --experimental-json-config | ||
-c, --config | ||
-e, --env | ||
-h, --help | ||
-v, --version | ||
``` | ||
|
||
This is not accurate, since flags such as `--config`, `--experimental-json-config`, or `env` are not supported by Pages. | ||
|
||
This commit ensures we display the correct global flags that apply to Pages. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters