From a10ce9a3e5090f9eab0b34618280d7177568d884 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 10 Jan 2015 18:31:29 +0000 Subject: rtcwake: add human readable --date timestamp format Reviewed-by: Benno Schulenberg Signed-off-by: Sami Kerola --- sys-utils/rtcwake.8.in | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'sys-utils/rtcwake.8.in') 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 . -- cgit v1.2.3-55-g7522