Blame 0044-cgtop-fixup-the-online-help.patch
|
Harald Hoyer |
db3a9f |
From 3af2fb43cba8a683cbe8bbcb3bc44dbce8d553af Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
db3a9f |
From: Brandon Philips <brandon@ifup.co>
|
|
Harald Hoyer |
db3a9f |
Date: Tue, 3 Sep 2013 21:34:02 -0700
|
|
Harald Hoyer |
db3a9f |
Subject: [PATCH] cgtop: fixup the online help
|
|
Harald Hoyer |
db3a9f |
|
|
Harald Hoyer |
db3a9f |
The online help shows the keys as uppercase but the code and manpage say
|
|
Harald Hoyer |
db3a9f |
lower case. Make the online help follow reality.
|
|
Harald Hoyer |
db3a9f |
---
|
|
Harald Hoyer |
db3a9f |
src/cgtop/cgtop.c | 4 ++--
|
|
Harald Hoyer |
db3a9f |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
db3a9f |
|
|
Harald Hoyer |
db3a9f |
diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c
|
|
Harald Hoyer |
db3a9f |
index fb523a3..cacf705 100644
|
|
Harald Hoyer |
db3a9f |
--- a/src/cgtop/cgtop.c
|
|
Harald Hoyer |
db3a9f |
+++ b/src/cgtop/cgtop.c
|
|
Harald Hoyer |
db3a9f |
@@ -824,9 +824,9 @@ int main(int argc, char *argv[]) {
|
|
Harald Hoyer |
db3a9f |
case '?':
|
|
Harald Hoyer |
db3a9f |
case 'h':
|
|
Harald Hoyer |
db3a9f |
fprintf(stdout,
|
|
Harald Hoyer |
db3a9f |
- "\t<" ON "P" OFF "> By path; <" ON "T" OFF "> By tasks; <" ON "C" OFF "> By CPU; <" ON "M" OFF "> By memory; <" ON "I" OFF "> By I/O\n"
|
|
Harald Hoyer |
db3a9f |
+ "\t<" ON "p" OFF "> By path; <" ON "t" OFF "> By tasks; <" ON "c" OFF "> By CPU; <" ON "m" OFF "> By memory; <" ON "i" OFF "> By I/O\n"
|
|
Harald Hoyer |
db3a9f |
"\t<" ON "+" OFF "> Increase delay; <" ON "-" OFF "> Decrease delay; <" ON "%%" OFF "> Toggle time\n"
|
|
Harald Hoyer |
db3a9f |
- "\t<" ON "Q" OFF "> Quit; <" ON "SPACE" OFF "> Refresh");
|
|
Harald Hoyer |
db3a9f |
+ "\t<" ON "q" OFF "> Quit; <" ON "SPACE" OFF "> Refresh");
|
|
Harald Hoyer |
db3a9f |
fflush(stdout);
|
|
Harald Hoyer |
db3a9f |
sleep(3);
|
|
Harald Hoyer |
db3a9f |
break;
|