diff options
-rw-r--r-- | procps/ps.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c index be11a1b67..0b674ffb4 100644 --- a/procps/ps.c +++ b/procps/ps.c | |||
@@ -483,7 +483,11 @@ int ps_main(int argc UNUSED_PARAM, char **argv) | |||
483 | // -l Generate a long listing | 483 | // -l Generate a long listing |
484 | // -o col1,col2,col3=header | 484 | // -o col1,col2,col3=header |
485 | // Select which columns to display | 485 | // Select which columns to display |
486 | /* We allow (and ignore) most of the above. FIXME */ | 486 | /* We allow (and ignore) most of the above. FIXME. |
487 | * -T is picked for threads (POSIX hasn't it standardized). | ||
488 | * procps v3.2.7 supports -T and shows tids as SPID column, | ||
489 | * it also supports -L where it shows tids as LWP column. | ||
490 | */ | ||
487 | opt_complementary = "o::"; | 491 | opt_complementary = "o::"; |
488 | opt = getopt32(argv, "Zo:aAdefl"IF_FEATURE_SHOW_THREADS("T"), &opt_o); | 492 | opt = getopt32(argv, "Zo:aAdefl"IF_FEATURE_SHOW_THREADS("T"), &opt_o); |
489 | if (opt_o) { | 493 | if (opt_o) { |