From 684db6cb9b06cbb4f246152da427da6f47aa16cc Mon Sep 17 00:00:00 2001 From: Nikolaos Chatzikonstantinou Date: Tue, 14 May 2024 12:25:47 -0400 Subject: [PATCH] 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. --- src/sleep.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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); -- 2.47.2