From 887d96303725d784e245c6562cf9fd5583b37224 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 24 Nov 2009 03:52:24 +0100 Subject: [PATCH] ps: add comment about -T Signed-off-by: Denys Vlasenko --- procps/ps.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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) // -l Generate a long listing // -o col1,col2,col3=header // Select which columns to display - /* We allow (and ignore) most of the above. FIXME */ + /* We allow (and ignore) most of the above. FIXME. + * -T is picked for threads (POSIX hasn't it standardized). + * procps v3.2.7 supports -T and shows tids as SPID column, + * it also supports -L where it shows tids as LWP column. + */ opt_complementary = "o::"; opt = getopt32(argv, "Zo:aAdefl"IF_FEATURE_SHOW_THREADS("T"), &opt_o); if (opt_o) { -- 2.25.1