summaryrefslogtreecommitdiffstats
path: root/sys-utils/rfkill.8
diff options
context:
space:
mode:
authorKarel Zak2017-10-03 13:44:19 +0200
committerKarel Zak2017-10-03 13:44:19 +0200
commit18d3a03fda242d42cc2cc64fe3d59f3c8dac540b (patch)
tree6cd52535e43cbc6ece09b440ac18f5bf7022074f /sys-utils/rfkill.8
parentrfkill: improve default output (diff)
downloadkernel-qcow2-util-linux-18d3a03fda242d42cc2cc64fe3d59f3c8dac540b.tar.gz
kernel-qcow2-util-linux-18d3a03fda242d42cc2cc64fe3d59f3c8dac540b.tar.xz
kernel-qcow2-util-linux-18d3a03fda242d42cc2cc64fe3d59f3c8dac540b.zip
rfkill: refactor actions
* convert action string to ID and use switch() * add note about default output to the man page Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/rfkill.8')
-rw-r--r--sys-utils/rfkill.810
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-utils/rfkill.8 b/sys-utils/rfkill.8
index ce0aadc31..0cb704070 100644
--- a/sys-utils/rfkill.8
+++ b/sys-utils/rfkill.8
@@ -5,6 +5,16 @@ rfkill \- tool for enabling and disabling wireless devices
.SH SYNOPSIS
.B rfkill
.RI [ options ] " command" " [" id | type \ ...]
+
+.SH DESCRIPTION
+.B rfkill
+lists, enabling and disabling wireless devices.
+
+The default output is subject to change. So whenever possible, you should
+avoid using default outputs in your scripts. Always explicitly define expected
+columns by using the \fB\-\-output\fR option together with a columns list in
+environments where a stable output is required.
+
.SH OPTIONS
.TP
\fB\-J\fR, \fB\-\-json\fR