summaryrefslogtreecommitdiffstats
path: root/usr.sbin/gpioctl
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2018-03-12 12:52:14 +0000
committerjmc <jmc@openbsd.org>2018-03-12 12:52:14 +0000
commit4eb03a882dd3a5fe34b395c63c603d43afe2776c (patch)
tree702b1b2c955f85cc19286ac56c53b84275460953 /usr.sbin/gpioctl
parentDelete unused variable. (diff)
downloadwireguard-openbsd-4eb03a882dd3a5fe34b395c63c603d43afe2776c.tar.xz
wireguard-openbsd-4eb03a882dd3a5fe34b395c63c603d43afe2776c.zip
correct flags example; from artturi alm
ok sthen knock out a dud Tn while here
Diffstat (limited to 'usr.sbin/gpioctl')
-rw-r--r--usr.sbin/gpioctl/gpioctl.810
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.sbin/gpioctl/gpioctl.8 b/usr.sbin/gpioctl/gpioctl.8
index 0b91a2ce4b6..6ff1b0da00e 100644
--- a/usr.sbin/gpioctl/gpioctl.8
+++ b/usr.sbin/gpioctl/gpioctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gpioctl.8,v 1.24 2015/09/11 21:19:34 schwarze Exp $
+.\" $OpenBSD: gpioctl.8,v 1.25 2018/03/12 12:52:14 jmc Exp $
.\"
.\" Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 11 2015 $
+.Dd $Mdocdate: March 12 2018 $
.Dt GPIOCTL 8
.Os
.Sh NAME
@@ -143,7 +143,7 @@ invert output
When attaching an I2C device,
if the
.Ar flag
-argument is set to 0x01,
+argument is set to 1,
the order of the SDA and SCL signals is reversed
(see
.Xr gpioiic 4 ) .
@@ -152,9 +152,7 @@ When executed with only the
.Xr gpio 4
device name as argument,
.Nm
-reads information about the
-.Tn GPIO
-device and displays it.
+reads information about the GPIO device and displays it.
At securelevel 0 the number of physically available pins is displayed,
at higher securelevels the number of configured
.Pq Cm set