summaryrefslogtreecommitdiffstats
path: root/sys-utils/rtcwake.8.in
diff options
context:
space:
mode:
authorSami Kerola2015-01-10 19:31:29 +0100
committerKarel Zak2015-06-29 13:39:37 +0200
commita10ce9a3e5090f9eab0b34618280d7177568d884 (patch)
treea2334fbbbfa3265d6eb98a1b937528add36502ee /sys-utils/rtcwake.8.in
parentrtcwake: improve read_clock_mode() (diff)
downloadkernel-qcow2-util-linux-a10ce9a3e5090f9eab0b34618280d7177568d884.tar.gz
kernel-qcow2-util-linux-a10ce9a3e5090f9eab0b34618280d7177568d884.tar.xz
kernel-qcow2-util-linux-a10ce9a3e5090f9eab0b34618280d7177568d884.zip
rtcwake: add human readable --date timestamp format
Reviewed-by: Benno Schulenberg <bensberg@justemail.net> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/rtcwake.8.in')
-rw-r--r--sys-utils/rtcwake.8.in18
1 files changed, 17 insertions, 1 deletions
diff --git a/sys-utils/rtcwake.8.in b/sys-utils/rtcwake.8.in
index 5ec9c6ccb..be4a88f4d 100644
--- a/sys-utils/rtcwake.8.in
+++ b/sys-utils/rtcwake.8.in
@@ -53,6 +53,22 @@ from the \fIadjtime\fP file, where
.BR hwclock (8)
stores that information. This is the default.
.TP
+.BR \-\-date " \fItimestamp"
+Set the wakeup time to the value of the timestamp. Format of the
+timestmap can be any of the following:
+.TS
+tab(|);
+left l2 l.
+YYYYMMDDhhmmss
+YYYY-MM-DD hh:mm:ss
+YYYY-MM-DD hh:mm|(seconds will be set to 00)
+YYYY-MM-DD|(time will be set to 00:00:00)
+hh:mm:ss|(date will be set to today)
+hh:mm|(date will be set to today, seconds to 00)
+tomorrow|(time is set to 00:00:00)
++5min
+.TE
+.TP
.BR \-d , " \-\-device " \fIdevice
Use the specified \fIdevice\fP instead of \fBrtc0\fP as realtime clock.
This option is only relevant if your system has more than one RTC.
@@ -156,4 +172,4 @@ There is NO WARRANTY, to the extent permitted by law.
The rtcwake command is part of the util-linux package and is available from the
.UR ftp://\:ftp.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
Linux Kernel Archive
-.UE . \ No newline at end of file
+.UE .