← Commit list

d17c0a348

Petr Vorel
Petr Vorel
2023-11-07
SUCCESS Duration: 153s

Subject

sleep: Update doc

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/sleep.c+8 -7
@@ -17,14 +17,15 @@
//config: default y
//config: help
//config: sleep is used to pause for a specified number of seconds.
-//config: It comes in 3 versions:
+//config: It comes in 2 versions:
//config: - small: takes one integer parameter
-//config: - fancy: takes multiple integer arguments with suffixes:
-//config: sleep 1d 2h 3m 15s
-//config: - fancy with fractional numbers:
-//config: sleep 2.3s 4.5h sleeps for 16202.3 seconds
-//config: Last one is "the most compatible" with coreutils sleep,
-//config: but it adds around 1k of code.
+//config: - fancy:
+//config: * takes multiple integer arguments with suffixes:
+//config: sleep 1d 2h 3m 15s
+//config: * allows fractional numbers:
+//config: sleep 2.3s 4.5h sleeps for 16202.3 seconds
+//config: fancy is more compatible with coreutils sleep, but it adds around
+//config: 1k of code.
//config:
//config:config FEATURE_FANCY_SLEEP
//config: bool "Enable multiple arguments and s/m/h/d suffixes"