From: Nikolaos Chatzikonstantinou Date: Tue, 14 May 2024 16:25:47 +0000 (-0400) Subject: doc: improve the man page for sleep X-Git-Tag: v9.6~235 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=684db6cb9b06cbb4f246152da427da6f47aa16cc;p=thirdparty%2Fcoreutils.git doc: improve the man page for sleep This patch is part of work done for a project from Google Summer of Code, see the project details at . * src/sleep.c (usage): Directly mention the floating-point option, which is typical for sleeping milliseconds. Also reorganize the text to be 3 lines rather than 4. --- diff --git a/src/sleep.c b/src/sleep.c index eedf8b8505..ad2b349cb1 100644 --- a/src/sleep.c +++ b/src/sleep.c @@ -42,10 +42,9 @@ usage (int status) printf (_("\ Usage: %s NUMBER[SUFFIX]...\n\ or: %s OPTION\n\ -Pause for NUMBER seconds. SUFFIX may be 's' for seconds (the default),\n\ -'m' for minutes, 'h' for hours or 'd' for days. NUMBER need not be an\n\ -integer. Given two or more arguments, pause for the amount of time\n\ -specified by the sum of their values.\n\ +Pause for NUMBER seconds, where NUMBER is an integer or floating-point.\n\ +SUFFIX may be 's','m','h', or 'd', for seconds, minutes, hours, days.\n\ +With multiple arguments, pause for the sum of their values.\n\ \n\ "), program_name, program_name);