Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2018 09:04:57 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334921 - head/usr.bin/top
Message-ID:  <201806100904.w5A94v4g087152@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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},



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806100904.w5A94v4g087152>