diff options
Diffstat (limited to 'include/usage.h')
-rw-r--r-- | include/usage.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index 4152fecd3..d7e1dd9f1 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2558,6 +2558,18 @@ | |||
2558 | "$ patch -p1 < example.diff\n" \ | 2558 | "$ patch -p1 < example.diff\n" \ |
2559 | "$ patch -p0 -i example.diff" | 2559 | "$ patch -p0 -i example.diff" |
2560 | 2560 | ||
2561 | #define pgrep_trivial_usage \ | ||
2562 | "[-flnovx] pattern" | ||
2563 | #define pgrep_full_usage \ | ||
2564 | "Display process(es) selected by regex pattern" \ | ||
2565 | "\n\nOptions:\n" \ | ||
2566 | " -l Show command name too\n" \ | ||
2567 | " -f Match against entire command line\n" \ | ||
2568 | " -n Signal the newest process only\n" \ | ||
2569 | " -o Signal the oldest process only\n" \ | ||
2570 | " -v Negate the matching\n" \ | ||
2571 | " -x Match whole name (not substring)" | ||
2572 | |||
2561 | #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) | 2573 | #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) |
2562 | #define USAGE_PIDOF "Options:" | 2574 | #define USAGE_PIDOF "Options:" |
2563 | #else | 2575 | #else |
@@ -2640,6 +2652,18 @@ | |||
2640 | "Move the current root file system to PUT_OLD and make NEW_ROOT\n" \ | 2652 | "Move the current root file system to PUT_OLD and make NEW_ROOT\n" \ |
2641 | "the new root file system" | 2653 | "the new root file system" |
2642 | 2654 | ||
2655 | #define pkill_trivial_usage \ | ||
2656 | "[-l] | [-fnovx] [-signal] pattern" | ||
2657 | #define pkill_full_usage \ | ||
2658 | "Send a signal to process(es) selected by regex pattern" \ | ||
2659 | "\n\nOptions:\n" \ | ||
2660 | " -l List all signals\n" \ | ||
2661 | " -f Match against entire command line\n" \ | ||
2662 | " -n Signal the newest process only\n" \ | ||
2663 | " -o Signal the oldest process only\n" \ | ||
2664 | " -v Negate the matching\n" \ | ||
2665 | " -x Match whole name (not substring)" | ||
2666 | |||
2643 | #define poweroff_trivial_usage \ | 2667 | #define poweroff_trivial_usage \ |
2644 | "[-d delay] [-n] [-f]" | 2668 | "[-d delay] [-n] [-f]" |
2645 | #define poweroff_full_usage \ | 2669 | #define poweroff_full_usage \ |