aboutsummaryrefslogtreecommitdiff
path: root/toys/posix
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix')
-rw-r--r--toys/posix/sleep.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/toys/posix/sleep.c b/toys/posix/sleep.c
index 0381c107..846df80c 100644
--- a/toys/posix/sleep.c
+++ b/toys/posix/sleep.c
@@ -11,18 +11,12 @@ config SLEEP
bool "sleep"
default y
help
- usage: sleep LENGTH
+ usage: sleep DURATION
- Wait before exiting. An optional suffix can be "m" (minutes), "h" (hours),
- "d" (days), or "s" (seconds, the default).
+ Wait before exiting.
-
-config SLEEP_FLOAT
- bool
- default y
- depends on SLEEP && TOYBOX_FLOAT
- help
- Length can be a decimal fraction.
+ DURATION can be a decimal fraction. An optional suffix can be "m"
+ (minutes), "h" (hours), "d" (days), or "s" (seconds, the default).
*/
#include "toys.h"