summaryrefslogtreecommitdiffstats
path: root/sys-utils/rtcwake.8.in
diff options
context:
space:
mode:
authorSami Kerola2015-01-10 21:07:08 +0100
committerKarel Zak2015-06-29 13:39:37 +0200
commit43a44bfc6da8f4666c5dd6bc03c89713e6c4bd46 (patch)
tree439991ec60e400dfb55eab562146f2c70efe97af /sys-utils/rtcwake.8.in
parentrtcwake: do not overwrite device name (diff)
downloadkernel-qcow2-util-linux-43a44bfc6da8f4666c5dd6bc03c89713e6c4bd46.tar.gz
kernel-qcow2-util-linux-43a44bfc6da8f4666c5dd6bc03c89713e6c4bd46.tar.xz
kernel-qcow2-util-linux-43a44bfc6da8f4666c5dd6bc03c89713e6c4bd46.zip
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 <kzak@redhat.com> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/rtcwake.8.in')
-rw-r--r--sys-utils/rtcwake.8.in5
1 files changed, 4 insertions, 1 deletions
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