-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Make --no-paging
/-P
override --paging=...
if passed as a later arg
#2201
Conversation
@themkat Why was the PR closed? Due to pending review? Or does the PR not actually solve the issue? |
@dufferzafar It solves the issue with -P as a later argument, but not the double -pp, as I found no way of solving that. Also, I interpreted a second review never happening as a sign that the maintainers didn't want it. So I closed it for that reason alone. I was very new to Rust at the time, and was just playing around. Probably also thinking to myself that it was not good enough 🤷 |
Yeah, I myself can't think of how |
@dufferzafar Thanks for the interest in it 😄 I have now reopened the PR. |
--no-paging
/-P
override --paging=...
if passed as a later arg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution! Sorry for letting you wait 😅
I have confirmed the test fails without the fix, and I think this is a completely reasonable little improvement, so I rebased it, updated CHANGELOG, and will merge after CI is green.
Thanks again!
Part of fix for #2128
Makes the -P
and -ppoption take precedence over --paging when given. See issue for more details 🙂 Had to change one test, as it assumed the opposite of what the issue is explaining.