diff options
author | Denis Vlasenko | 2007-09-29 22:26:01 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-09-29 22:26:01 +0000 |
commit | 72e1c89d971aa2e37abf705c6a01f002deac09b8 (patch) | |
tree | 6edb25e260701f9f6e49769e4bb7e31e7e2e6063 /include/usage.h | |
parent | 2450e4ba44707a64920ea6c9276930a1210e76cc (diff) | |
download | busybox-72e1c89d971aa2e37abf705c6a01f002deac09b8.zip busybox-72e1c89d971aa2e37abf705c6a01f002deac09b8.tar.gz |
pgrep,pkill: new applets by Loic Grenie <loic.grenie@gmail.com>
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 4152fec..d7e1dd9 100644 --- a/include/usage.h +++ b/include/usage.h @@ -2558,6 +2558,18 @@ "$ patch -p1 < example.diff\n" \ "$ patch -p0 -i example.diff" +#define pgrep_trivial_usage \ + "[-flnovx] pattern" +#define pgrep_full_usage \ + "Display process(es) selected by regex pattern" \ + "\n\nOptions:\n" \ + " -l Show command name too\n" \ + " -f Match against entire command line\n" \ + " -n Signal the newest process only\n" \ + " -o Signal the oldest process only\n" \ + " -v Negate the matching\n" \ + " -x Match whole name (not substring)" + #if (ENABLE_FEATURE_PIDOF_SINGLE || ENABLE_FEATURE_PIDOF_OMIT) #define USAGE_PIDOF "Options:" #else @@ -2640,6 +2652,18 @@ "Move the current root file system to PUT_OLD and make NEW_ROOT\n" \ "the new root file system" +#define pkill_trivial_usage \ + "[-l] | [-fnovx] [-signal] pattern" +#define pkill_full_usage \ + "Send a signal to process(es) selected by regex pattern" \ + "\n\nOptions:\n" \ + " -l List all signals\n" \ + " -f Match against entire command line\n" \ + " -n Signal the newest process only\n" \ + " -o Signal the oldest process only\n" \ + " -v Negate the matching\n" \ + " -x Match whole name (not substring)" + #define poweroff_trivial_usage \ "[-d delay] [-n] [-f]" #define poweroff_full_usage \ |