summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-23 00:34:42 +0200
committerDenys Vlasenko2010-05-23 00:34:42 +0200
commit9e07219c7814972893d1f3bb67b43108fe83212a (patch)
tree81352d21edcc0a021849fe9d4b0978e0595a60e1 /include
parent765b0eed3ef29a80115708c3249d3a541509cd24 (diff)
downloadbusybox-9e07219c7814972893d1f3bb67b43108fe83212a.zip
busybox-9e07219c7814972893d1f3bb67b43108fe83212a.tar.gz
ps: make "ps -o BAD" emit list of good -o params
also make ps help more informative function old new delta find_out_spec 58 103 +45 packed_usage 27039 27079 +40 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/usage.h b/include/usage.h
index 8f695f8..d53b867 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3574,11 +3574,11 @@
#if ENABLE_DESKTOP
#define ps_trivial_usage \
- ""
+ "[-o COL1,COL2=HEADER]" IF_FEATURE_SHOW_THREADS(" [-T]")
#define ps_full_usage "\n\n" \
- "Report process status\n" \
+ "Show list of processes\n" \
"\nOptions:" \
- "\n -o col1,col2=header Select columns for display" \
+ "\n -o COL1,COL2=HEADER Select columns for display" \
IF_FEATURE_SHOW_THREADS( \
"\n -T Show threads" \
)
@@ -3594,7 +3594,7 @@
#define ps_trivial_usage \
""
#define ps_full_usage "\n\n" \
- "Report process status\n" \
+ "Show list of processes\n" \
USAGE_PS \
IF_SELINUX( \
"\n -Z Show selinux context" \