bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: improve timeout's --help message


From: Jim Meyering
Subject: [PATCH] doc: improve timeout's --help message
Date: Mon, 14 Sep 2009 09:19:50 +0200

Hi Pádraig,

Is this ok with you?

>From eb1299481aeda0c1b10d0186e00a088597e603a8 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 14 Sep 2009 09:18:30 +0200
Subject: [PATCH] doc: improve timeout's --help message

* src/timeout.c (usage): Improve --help description.
---
 src/timeout.c |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/src/timeout.c b/src/timeout.c
index 6d9d109..e4b1704 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -153,12 +153,11 @@ Mandatory arguments to long options are mandatory for 
short options too.\n\
       fputs (HELP_OPTION_DESCRIPTION, stdout);
       fputs (VERSION_OPTION_DESCRIPTION, stdout);
       fputs (_("\n\
-If the command times out, then we exit with status 124,\n\
-otherwise the normal exit status of the command is returned.\n\
-If no signal is specified, the TERM signal is sent. The TERM signal\n\
-will kill processes which do not catch this signal. For other processes,\n\
-it may be necessary to use the KILL (9) signal, since this signal cannot\n\
-be caught.\n"), stdout);
+If the command times out, then exit with status 124.  Otherwise, exit\n\
+with the status of COMMAND.  If no signal is specified, send the TERM\n\
+signal upon timeout.  The TERM signal kills any process that does not\n\
+block or catch that signal.  For other processes, it may be necessary to\n\
+use the KILL (9) signal, since this signal cannot be caught.\n"), stdout);
       emit_bug_reporting_address ();
     }
   exit (status);
--
1.6.5.rc1.160.gad50c




reply via email to

[Prev in Thread] Current Thread [Next in Thread]