ps: improve the parameter output of the ps command#664
ps: improve the parameter output of the ps command#664Franklin-Qi wants to merge 1 commit intouutils:mainfrom
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #664 +/- ##
==========================================
+ Coverage 19.16% 19.20% +0.03%
==========================================
Files 68 68
Lines 10147 10155 +8
Branches 545 546 +1
==========================================
+ Hits 1945 1950 +5
- Misses 8202 8205 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
hum, I think you've written the wrong description. Here's the SIMPLE PROCESS SELECTION
...
-e Select all processes. Identical to -A.
...Its description is "Select all processes. Identical to -A.", and I think it's also an alias of But you wrote "Show the environment after the command.", which is under OUTPUT MODIFIERS
...
e Show the environment after the command. <---- HERE
... |
@Krysztal112233 Thank you for your review. I believe you are correct; this is a normal description, and I will make changes. $ ps --help all
Usage:
ps [options]
Basic options:
-A, -e all processes
-a all with tty, except session leaders
a all with tty, including other users
...
Miscellaneous options:
-c show scheduling class with -l option
c show true command name
e show the environment after command
...
--help <simple|list|output|threads|misc|all>
display help and exit
For more details see ps(1).
|
|
you can get all documents from |
|
@Krysztal112233 Thanks, the description here is indeed much clearer. |
dc606d1 to
c1801fd
Compare
Improve the parameter output of the ps command so that
cargo run -q ps -A -edoes not report errors.Fix #669