aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usage.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 46bb9eca4..7174ad414 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2377,6 +2377,18 @@ USE_FEATURE_MDEV_CONFIG( \
2377 "$ printf \"Val=%d\\n\" 5\n" \ 2377 "$ printf \"Val=%d\\n\" 5\n" \
2378 "Val=5\n" 2378 "Val=5\n"
2379 2379
2380
2381#if ENABLE_DESKTOP
2382
2383#define ps_trivial_usage \
2384 ""
2385#define ps_full_usage \
2386 "Report process status\n" \
2387 "\nOptions:" \
2388 "\n\t-o col1,col2=header\tSelect columns for display" \
2389
2390#else /* !ENABLE_DESKTOP */
2391
2380#if !defined CONFIG_SELINUX && !ENABLE_FEATURE_PS_WIDE 2392#if !defined CONFIG_SELINUX && !ENABLE_FEATURE_PS_WIDE
2381#define USAGE_PS "\n\tThis version of ps accepts no options." 2393#define USAGE_PS "\n\tThis version of ps accepts no options."
2382#else 2394#else
@@ -2396,6 +2408,8 @@ USE_FEATURE_MDEV_CONFIG( \
2396 USE_SELINUX("\n\t-c\tshow SE Linux context") \ 2408 USE_SELINUX("\n\t-c\tshow SE Linux context") \
2397 USAGE_PS_WIDE("\n\tw\twide output") 2409 USAGE_PS_WIDE("\n\tw\twide output")
2398 2410
2411#endif /* ENABLE_DESKTOP */
2412
2399#define ps_example_usage \ 2413#define ps_example_usage \
2400 "$ ps\n" \ 2414 "$ ps\n" \
2401 " PID Uid Gid State Command\n" \ 2415 " PID Uid Gid State Command\n" \
@@ -2409,6 +2423,7 @@ USE_FEATURE_MDEV_CONFIG( \
2409 " 745 root root S [getty]\n" \ 2423 " 745 root root S [getty]\n" \
2410 " 2990 andersen andersen R ps\n" 2424 " 2990 andersen andersen R ps\n"
2411 2425
2426
2412#define pwd_trivial_usage \ 2427#define pwd_trivial_usage \
2413 "" 2428 ""
2414#define pwd_full_usage \ 2429#define pwd_full_usage \