-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty PAGER variable breaks help subcommands #8891
Comments
^ Seems to suffice as a fix. |
Thanks for reaching out. This looks like a duplicate of #4972, so I'll close this and we can continue tracking there. This comment on the issue provides more background and a workaround (for when
Please refer to the original issue for updates going forward or to add any comments. |
This issue is now closed. Comments on closed issues are hard for our team to see. |
Describe the bug
When PAGER is set to empty string, help stops working.
Expected Behavior
The help would continue to work, behaving as if pager was disabled. Setting PAGER to empty string is fairly common way to disable pager usage, and works with all programs I use except awscli.
Current Behavior
Reproduction Steps
Possible Solution
Probably changing
to
should work. Assuming that is valid python, I am not pythonist.
Additional Information/Context
No response
CLI version used
aws-cli/2.17.27 Python/3.11.9 Darwin/23.6.0 source/arm64
Environment details (OS name and version, etc.)
MacOS Sodoma 14.6.1
The text was updated successfully, but these errors were encountered: