diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/usage.h b/include/usage.h index 8428bfd32..fad50efdc 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2245,17 +2245,12 @@ | |||
2245 | "$ printf \"Val=%d\\n\" 5\n" \ | 2245 | "$ printf \"Val=%d\\n\" 5\n" \ |
2246 | "Val=5\n" | 2246 | "Val=5\n" |
2247 | 2247 | ||
2248 | #if !defined(CONFIG_SELINUX) && !defined(CONFIG_PS_FEATURE_WIDE) | 2248 | #if !defined CONFIG_SELINUX && !ENABLE_FEATURE_PS_WIDE |
2249 | #define USAGE_PS "\n\tThis version of ps accepts no options." | 2249 | #define USAGE_PS "\n\tThis version of ps accepts no options." |
2250 | #else | 2250 | #else |
2251 | #define USAGE_PS "\nOptions:" | 2251 | #define USAGE_PS "\nOptions:" |
2252 | #endif | 2252 | #endif |
2253 | #ifdef CONFIG_SELINUX | 2253 | #if ENABLE_FEATURE_PS_WIDE |
2254 | #define USAGE_NONSELINUX(a) | ||
2255 | #else | ||
2256 | #define USAGE_NONSELINUX(a) a | ||
2257 | #endif | ||
2258 | #ifdef CONFIG_PS_FEATURE_WIDE | ||
2259 | #define USAGE_PS_WIDE(a) a | 2254 | #define USAGE_PS_WIDE(a) a |
2260 | #else | 2255 | #else |
2261 | #define USAGE_PS_WIDE(a) | 2256 | #define USAGE_PS_WIDE(a) |
@@ -2269,7 +2264,6 @@ | |||
2269 | USAGE_SELINUX("\n\t-c\tshow SE Linux context") \ | 2264 | USAGE_SELINUX("\n\t-c\tshow SE Linux context") \ |
2270 | USAGE_PS_WIDE("\n\tw\twide output") | 2265 | USAGE_PS_WIDE("\n\tw\twide output") |
2271 | 2266 | ||
2272 | |||
2273 | #define ps_example_usage \ | 2267 | #define ps_example_usage \ |
2274 | "$ ps\n" \ | 2268 | "$ ps\n" \ |
2275 | " PID Uid Gid State Command\n" \ | 2269 | " PID Uid Gid State Command\n" \ |