summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-09-08 01:36:08 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-09-08 01:36:08 +0000
commit25a2aada3c0faee45f57d2ce31c0987d030ce693 (patch)
tree1035a086f2cd3837877ef09ae48df82390545025
parent03322b62ec1e5c4193e95aa7e0b122b44767860b (diff)
Fix on-screen documentation regarding [ and ]
-rw-r--r--htop.1.in4
-rw-r--r--htop.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/htop.1.in b/htop.1.in
index 8d720b2b..ecd6cd8d 100644
--- a/htop.1.in
+++ b/htop.1.in
@@ -86,11 +86,11 @@ tree view.
Select field for sorting. The sort field is indicated by a
highlight in the header.
.TP
-.B F7, ], -
+.B F7, ]
Increase selected process priority (subtract from 'nice' value).
This can be done by the superuser only.
.TP
-.B F8, [, +
+.B F8, [
Decrease selected process priority (add to 'nice' value)
.TP
.B F9, k
diff --git a/htop.c b/htop.c
index 2540b3de..2818b2e0 100644
--- a/htop.c
+++ b/htop.c
@@ -142,8 +142,8 @@ static void showHelp(ProcessList* pl) {
mvaddstr(13, 0, " Space"); mvaddstr(13,40, " F");
mvaddstr(14, 0, " U"); mvaddstr(14,40, " + -");
mvaddstr(15, 0, " F9 k"); mvaddstr(15,40, " P");
- mvaddstr(16, 0, " [ F7"); mvaddstr(16,40, " M");
- mvaddstr(17, 0, " ] F8"); mvaddstr(17,40, " T");
+ mvaddstr(16, 0, " ] F7"); mvaddstr(16,40, " M");
+ mvaddstr(17, 0, " [ F8"); mvaddstr(17,40, " T");
mvaddstr(18,40, " F4 I");
#if HAVE_PLPA
if (pl->cpuCount > 1)