From dd0bdd6b456dcc3a798f6dba142eac0e334824b0 Mon Sep 17 00:00:00 2001 From: Eitan Adler Date: Sat, 9 Jun 2018 20:06:06 +0000 Subject: [PATCH] top(1): allow starting with -T flag --- usr.bin/top/top.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c index 2af4e45d8bc..9cad5178cb2 100644 --- a/usr.bin/top/top.c +++ b/usr.bin/top/top.c @@ -328,7 +328,7 @@ _Static_assert(sizeof(command_chars) == CMD_toggletid + 2, "command chars size") optind = 1; } - while ((i = getopt(ac, av, "CSIHPabijJ:nquvzs:d:U:m:o:p:tw")) != EOF) + while ((i = getopt(ac, av, "CSIHPabijJ:nquvzs:d:U:m:o:p:Ttw")) != EOF) { switch(i) {