summaryrefslogtreecommitdiff
path: root/miscutils/timeout.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r--miscutils/timeout.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c
index 8416694..9d56593 100644
--- a/miscutils/timeout.c
+++ b/miscutils/timeout.c
@@ -28,6 +28,12 @@
* rewrite 14-11-2008 vda
*/
+//usage:#define timeout_trivial_usage
+//usage: "[-t SECS] [-s SIG] PROG ARGS"
+//usage:#define timeout_full_usage "\n\n"
+//usage: "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n"
+//usage: "Defaults: SECS: 10, SIG: TERM."
+
#include "libbb.h"
int timeout_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;