diff options
Diffstat (limited to 'util-linux/rtcwake.c')
-rw-r--r-- | util-linux/rtcwake.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/util-linux/rtcwake.c b/util-linux/rtcwake.c index 06ed7eafc..735a29822 100644 --- a/util-linux/rtcwake.c +++ b/util-linux/rtcwake.c | |||
@@ -23,6 +23,29 @@ | |||
23 | * That flag should not be needed on systems with adjtime support. | 23 | * That flag should not be needed on systems with adjtime support. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | //usage:#define rtcwake_trivial_usage | ||
27 | //usage: "[-a | -l | -u] [-d DEV] [-m MODE] [-s SEC | -t TIME]" | ||
28 | //usage:#define rtcwake_full_usage "\n\n" | ||
29 | //usage: "Enter a system sleep state until specified wakeup time\n" | ||
30 | //usage: IF_LONG_OPTS( | ||
31 | //usage: "\n -a,--auto Read clock mode from adjtime" | ||
32 | //usage: "\n -l,--local Clock is set to local time" | ||
33 | //usage: "\n -u,--utc Clock is set to UTC time" | ||
34 | //usage: "\n -d,--device=DEV Specify the RTC device" | ||
35 | //usage: "\n -m,--mode=MODE Set the sleep state (default: standby)" | ||
36 | //usage: "\n -s,--seconds=SEC Set the timeout in SEC seconds from now" | ||
37 | //usage: "\n -t,--time=TIME Set the timeout to TIME seconds from epoch" | ||
38 | //usage: ) | ||
39 | //usage: IF_NOT_LONG_OPTS( | ||
40 | //usage: "\n -a Read clock mode from adjtime" | ||
41 | //usage: "\n -l Clock is set to local time" | ||
42 | //usage: "\n -u Clock is set to UTC time" | ||
43 | //usage: "\n -d DEV Specify the RTC device" | ||
44 | //usage: "\n -m MODE Set the sleep state (default: standby)" | ||
45 | //usage: "\n -s SEC Set the timeout in SEC seconds from now" | ||
46 | //usage: "\n -t TIME Set the timeout to TIME seconds from epoch" | ||
47 | //usage: ) | ||
48 | |||
26 | #include "libbb.h" | 49 | #include "libbb.h" |
27 | #include "rtc_.h" | 50 | #include "rtc_.h" |
28 | 51 | ||