Hi,

i don't see how that would work, so before anyone fixes gpioctl to
accept base 16, maybe diff below to fix the man page instead..?
(came up while adding more [flags] usage to the man page.)

-Artturi


diff --git usr.sbin/gpioctl/gpioctl.8 usr.sbin/gpioctl/gpioctl.8
index 0b91a2ce4b6..25d0d302ae3 100644
--- usr.sbin/gpioctl/gpioctl.8
+++ usr.sbin/gpioctl/gpioctl.8
@@ -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 ) .

Reply via email to