Repository navigation
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #870 +/- ##
==========================================
+ Coverage 19.20% 20.37% +1.17%
==========================================
Files 68 68
Lines 10156 10123 -33
Branches 546 552 +6
==========================================
+ Hits 1950 2063 +113
+ Misses 8206 8060 -146
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
ps -u USERis the common way to list one user's processes, but-uwas only a flag for the user format, so the user was rejected:This resolves the
TODOnext to-u: it now takes an optional value.-u USER(a name, a UID or a list) selects by effective user, the same as--user USER, and both can be combined. A bareps -ustill prints the user format, as procps-ng does.The new test
test_dash_u_user_selectionmirrorstest_effective_user_selectionfor-u. It fails onmainand passes with this change, andtest_user_format(bare-u) still passes.cargo fmtandcargo clippy --all-targets -- -D warningsare clean.I used Claude Code (Opus 5.5) to help investigate and draft this change; I reproduced the bug and checked the fix myself.