]> granicus.if.org Git - procps-ng/commitdiff
top: squeeze namespace provision (^P) onto help screen
authorJim Warner <james.warner@comcast.net>
Mon, 23 Jan 2023 06:00:00 +0000 (00:00 -0600)
committerCraig Small <csmall@dropbear.xyz>
Tue, 24 Jan 2023 01:15:19 +0000 (12:15 +1100)
Signed-off-by: Jim Warner <james.warner@comcast.net>
src/top/top_nls.c

index f3f888526e9bffc649b6ddcea2756dc9db8f88bb..548f9d4a4c27a4313fee18f5e6b7cf295a5d4dc6 100644 (file)
@@ -678,8 +678,8 @@ static void build_uniq_nlstab (void) {
       "\n"
       "%s"
       "  ^G,K,N,U  View: ctl groups ~1^G~2; cmdline ~1^K~2; environment ~1^N~2; supp groups ~1^U~2\n"
-      "  W,Y,!,^E  Write cfg '~1W~2'; Inspect '~1Y~2'; Combine Cpus '~1!~2'; Scale time ~1^E~2'\n"
-      "  q         Quit\n"
+      "  Y,!,^E,P  Inspect '~1Y~2'; Combine Cpus '~1!~2'; Scale time ~1^E~2; View namespaces ~1^P~2\n"
+      "  W,q       Write config file '~1W~2'; Quit '~1q~2'\n"
       "          ( commands shown with '.' require a ~1visible~2 task display ~1window~2 ) \n"
       "Press '~1h~2' or '~1?~2' for help with ~1Windows~2,\n"
       "Type 'q' or <Esc> to continue ");