diff options
Diffstat (limited to 'miscutils/timeout.c')
-rw-r--r-- | miscutils/timeout.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/miscutils/timeout.c b/miscutils/timeout.c index 841669416..9d56593ba 100644 --- a/miscutils/timeout.c +++ b/miscutils/timeout.c | |||
@@ -28,6 +28,12 @@ | |||
28 | * rewrite 14-11-2008 vda | 28 | * rewrite 14-11-2008 vda |
29 | */ | 29 | */ |
30 | 30 | ||
31 | //usage:#define timeout_trivial_usage | ||
32 | //usage: "[-t SECS] [-s SIG] PROG ARGS" | ||
33 | //usage:#define timeout_full_usage "\n\n" | ||
34 | //usage: "Runs PROG. Sends SIG to it if it is not gone in SECS seconds.\n" | ||
35 | //usage: "Defaults: SECS: 10, SIG: TERM." | ||
36 | |||
31 | #include "libbb.h" | 37 | #include "libbb.h" |
32 | 38 | ||
33 | int timeout_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 39 | int timeout_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |