aboutsummaryrefslogtreecommitdiff
path: root/tests/to.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/to.c')
-rw-r--r--tests/to.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/to.c b/tests/to.c
index 0bfabac..78e5f97 100644
--- a/tests/to.c
+++ b/tests/to.c
@@ -48,13 +48,14 @@ main (int argc, char **argv)
char *p;
pid_t pid, ret;
int status;
if (argc < 3)
{
- fprintf (stderr, "usage: %s TIMEOUT COMMAND ...\n", progname);
+ fprintf (stderr, "usage: %s TIMEOUT COMMAND ARGS...\n", progname);
+ fprintf (stderr, "Runs command with a timeout.\n");
exit (1);
}
errno = 0;
n = strtoul (argv[1], &p, 10);
if (errno || *p || n == 0)
{

Return to:

Send suggestions and report system problems to the System administrator.