ps: add comment about -T
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Nov 2009 02:52:24 +0000 (03:52 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 24 Nov 2009 02:52:24 +0000 (03:52 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
procps/ps.c

index be11a1b..0b674ff 100644 (file)
@@ -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) {