diff options
Diffstat (limited to 'coreutils/sleep.c')
-rw-r--r-- | coreutils/sleep.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/coreutils/sleep.c b/coreutils/sleep.c index 6b3aa1ffa..9b9581ca9 100644 --- a/coreutils/sleep.c +++ b/coreutils/sleep.c | |||
@@ -16,29 +16,29 @@ | |||
16 | //config: bool "sleep (1.7 kb)" | 16 | //config: bool "sleep (1.7 kb)" |
17 | //config: default y | 17 | //config: default y |
18 | //config: help | 18 | //config: help |
19 | //config: sleep is used to pause for a specified number of seconds. | 19 | //config: sleep is used to pause for a specified number of seconds. |
20 | //config: It comes in 3 versions: | 20 | //config: It comes in 3 versions: |
21 | //config: - small: takes one integer parameter | 21 | //config: - small: takes one integer parameter |
22 | //config: - fancy: takes multiple integer arguments with suffixes: | 22 | //config: - fancy: takes multiple integer arguments with suffixes: |
23 | //config: sleep 1d 2h 3m 15s | 23 | //config: sleep 1d 2h 3m 15s |
24 | //config: - fancy with fractional numbers: | 24 | //config: - fancy with fractional numbers: |
25 | //config: sleep 2.3s 4.5h sleeps for 16202.3 seconds | 25 | //config: sleep 2.3s 4.5h sleeps for 16202.3 seconds |
26 | //config: Last one is "the most compatible" with coreutils sleep, | 26 | //config: Last one is "the most compatible" with coreutils sleep, |
27 | //config: but it adds around 1k of code. | 27 | //config: but it adds around 1k of code. |
28 | //config: | 28 | //config: |
29 | //config:config FEATURE_FANCY_SLEEP | 29 | //config:config FEATURE_FANCY_SLEEP |
30 | //config: bool "Enable multiple arguments and s/m/h/d suffixes" | 30 | //config: bool "Enable multiple arguments and s/m/h/d suffixes" |
31 | //config: default y | 31 | //config: default y |
32 | //config: depends on SLEEP | 32 | //config: depends on SLEEP |
33 | //config: help | 33 | //config: help |
34 | //config: Allow sleep to pause for specified minutes, hours, and days. | 34 | //config: Allow sleep to pause for specified minutes, hours, and days. |
35 | //config: | 35 | //config: |
36 | //config:config FEATURE_FLOAT_SLEEP | 36 | //config:config FEATURE_FLOAT_SLEEP |
37 | //config: bool "Enable fractional arguments" | 37 | //config: bool "Enable fractional arguments" |
38 | //config: default y | 38 | //config: default y |
39 | //config: depends on FEATURE_FANCY_SLEEP | 39 | //config: depends on FEATURE_FANCY_SLEEP |
40 | //config: help | 40 | //config: help |
41 | //config: Allow for fractional numeric parameters. | 41 | //config: Allow for fractional numeric parameters. |
42 | 42 | ||
43 | /* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */ | 43 | /* Do not make this applet NOFORK. It breaks ^C-ing of pauses in shells */ |
44 | //applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP)) | 44 | //applet:IF_SLEEP(APPLET(sleep, BB_DIR_BIN, BB_SUID_DROP)) |