summaryrefslogtreecommitdiff
path: root/usage.h
diff options
context:
space:
mode:
authorEric Andersen2001-07-31 19:06:07 +0000
committerEric Andersen2001-07-31 19:06:07 +0000
commit221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f (patch)
tree9fc861b2a801e9a95308474eb9f9af0ab1084e75 /usage.h
parent9a53feaa76840ef21bef864244d95b5ac6923658 (diff)
downloadbusybox-221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f.zip
busybox-221b2ea6c40e5b2e0123a0c9a4ba6e74d86eb33f.tar.gz
I just wrote up a simple pidof applet, closing bug #1197
-Erik
Diffstat (limited to 'usage.h')
-rw-r--r--usage.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/usage.h b/usage.h
index 2a20422..08da42b 100644
--- a/usage.h
+++ b/usage.h
@@ -1190,6 +1190,14 @@
"Name: debian\n" \
"Address: 127.0.0.1\n"
+#define pidof_trivial_usage \
+ "process-name [process-name ...]"
+#define pidof_full_usage \
+ "Lists the PIDs of all processes with names that match the names on the command line"
+#define pidof_example_usage \
+ "$ pidof init\n" \
+ "1\n"
+
#ifndef BB_FEATURE_FANCY_PING
#define ping_trivial_usage "host"
#define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts"