From 43a44bfc6da8f4666c5dd6bc03c89713e6c4bd46 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 10 Jan 2015 20:07:08 +0000 Subject: rtcwake: add --list-modes Commit ece44f19f423408f576f348fed2845c876d72c6e missed freeze mode, which to a simple patch adding the missing argument but Karel pointed out it would be better to make the rtcwake to tell what arguments are supported so that possible changes end up to be automatically correct in bash completion. Proposed-by: Karel Zak Signed-off-by: Sami Kerola --- sys-utils/rtcwake.8.in | 5 ++++- 1 file changed, 4 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 be4a88f4d..d8acd0aa1 100644 --- a/sys-utils/rtcwake.8.in +++ b/sys-utils/rtcwake.8.in @@ -16,7 +16,7 @@ .\" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA .\" 02110-1301, USA. .\" -.TH RTCWAKE 8 "July 2014" "util-linux" "System Administration" +.TH RTCWAKE 8 "June 2015" "util-linux" "System Administration" .SH NAME rtcwake \- enter a system sleep state until specified wakeup time .SH SYNOPSIS @@ -78,6 +78,9 @@ You may specify \fBrtc1\fP, \fBrtc2\fP, ... here. Assume that the hardware clock is set to local time, regardless of the contents of the \fIadjtime\fP file. .TP +.B \-\-list\-modes +List available \-\-mode option arguments. +.TP .BR \-m , " \-\-mode " \fImode Go into the given standby state. Valid values for \fImode\fP are: .RS -- cgit v1.2.3-55-g7522