svn commit: r334921 - head/usr.bin/top

Eitan Adler eadler at FreeBSD.org
Sun Jun 10 09:04:57 UTC 2018


Author: eadler
Date: Sun Jun 10 09:04:56 2018
New Revision: 334921
URL: https://svnweb.freebsd.org/changeset/base/334921

Log:
  top(1): add command aliases; correct dumb support

Modified:
  head/usr.bin/top/commands.c

Modified: head/usr.bin/top/commands.c
==============================================================================
--- head/usr.bin/top/commands.c	Sun Jun 10 09:00:01 2018	(r334920)
+++ head/usr.bin/top/commands.c	Sun Jun 10 09:04:56 2018	(r334921)
@@ -56,14 +56,17 @@ static const struct command all_commands[] =
 	{'d', "change number of displays to show", false},
 	{'e', "list errors generated by last \"kill\" or \"renice\" command", false},
 	{'H', "toggle the displaying of threads", false},
-	{'h', "show this help text", false},
+	{'h', "show this help text", true},
+	{'?', "show this help text", true},
 	{'i', "toggle the displaying of idle processes", false},
+	{'I', "toggle the displaying of idle processes", false},
 	{'j', "toggle the displaying of jail ID", false},
 	{'J', "display processes for only one jail (+ selects all jails)", false},
 	{'k', "kill processes; send a signal to a list of processes", false},
-	{'q', "quit" , false},
+	{'q', "quit" , true},
 	{'m', "toggle the display between 'cpu' and 'io' modes", false},
 	{'n', "change number of processes to display", false},
+	{'#', "change number of processes to display", false},
 	{'o', "specify the sort order", false},
 	{'p', "display one process (+ selects all processes)", false},
 	{'P', "toggle the displaying of per-CPU statistics", false},


More information about the svn-src-all mailing list