diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 8 |
2 files changed, 11 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 9fc59cda5..0786c39eb 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -284,6 +284,9 @@ | |||
284 | #ifdef BB_NSLOOKUP | 284 | #ifdef BB_NSLOOKUP |
285 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN) | 285 | APPLET(nslookup, nslookup_main, _BB_DIR_USR_BIN) |
286 | #endif | 286 | #endif |
287 | #ifdef BB_PIDOF | ||
288 | APPLET(pidof, pidof_main, _BB_DIR_BIN) | ||
289 | #endif | ||
287 | #ifdef BB_PING | 290 | #ifdef BB_PING |
288 | APPLET(ping, ping_main, _BB_DIR_BIN) | 291 | APPLET(ping, ping_main, _BB_DIR_BIN) |
289 | #endif | 292 | #endif |
diff --git a/include/usage.h b/include/usage.h index 2a2042292..08da42b27 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1190,6 +1190,14 @@ | |||
1190 | "Name: debian\n" \ | 1190 | "Name: debian\n" \ |
1191 | "Address: 127.0.0.1\n" | 1191 | "Address: 127.0.0.1\n" |
1192 | 1192 | ||
1193 | #define pidof_trivial_usage \ | ||
1194 | "process-name [process-name ...]" | ||
1195 | #define pidof_full_usage \ | ||
1196 | "Lists the PIDs of all processes with names that match the names on the command line" | ||
1197 | #define pidof_example_usage \ | ||
1198 | "$ pidof init\n" \ | ||
1199 | "1\n" | ||
1200 | |||
1193 | #ifndef BB_FEATURE_FANCY_PING | 1201 | #ifndef BB_FEATURE_FANCY_PING |
1194 | #define ping_trivial_usage "host" | 1202 | #define ping_trivial_usage "host" |
1195 | #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" | 1203 | #define ping_full_usage "Send ICMP ECHO_REQUEST packets to network hosts" |