-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary Fixes #4941. This PR adds a `--no-pager` option in `help` command to explicitly disable the pager. I noted that the template used for the text printed when calling `help` with no argument or option doesn't show any option. It made sense before this PR since `help` didn't have any available option. Though I'm unsure if it makes sense to update the template as it would make it extremely verbose as all the global options would be shown too. I leave the decision to you. ## Test Plan I ran `cargo run -- help` to verify `--isolated` was visible and it. I ran clippy with `cargo clippy --workspace --all-targets --all-features --locked -- -D warnings` as CI does. I also ran tests locally with: ``` cargo nextest run \ --features python-patch \ --workspace \ --status-level skip --failure-output immediate-final --no-fail-fast -j 12 --final-status-level slow ```
- Loading branch information
1 parent
2a50bc9
commit 2ccb7ed
Showing
4 changed files
with
75 additions
and
6 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
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