summaryrefslogtreecommitdiff
path: root/util-linux/rtcwake.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /util-linux/rtcwake.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2
busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/rtcwake.c')
-rw-r--r--util-linux/rtcwake.c23
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