]> git.ipfire.org Git - thirdparty/util-linux.git/commit
rfkill: refactor actions
authorKarel Zak <kzak@redhat.com>
Tue, 3 Oct 2017 11:44:19 +0000 (13:44 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 3 Oct 2017 11:44:19 +0000 (13:44 +0200)
commit18d3a03fda242d42cc2cc64fe3d59f3c8dac540b
tree6cd52535e43cbc6ece09b440ac18f5bf7022074f
parent7d8e3bcd156976301dbf4da0926e15009f1bdc7b
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>
sys-utils/rfkill.8
sys-utils/rfkill.c