diff --git a/usr.sbin/gpioctl/gpioctl.8 b/usr.sbin/gpioctl/gpioctl.8 --- a/usr.sbin/gpioctl/gpioctl.8 +++ b/usr.sbin/gpioctl/gpioctl.8 @@ -36,6 +36,7 @@ .Op Fl f Ar ctldev .Cm -l .Op Fl v +.Op pin .Nm .Op Fl f Ar ctldev .Op Fl pN @@ -143,13 +144,17 @@ .Pp gpioctl -f /dev/gpioc0 -n 12 test .It -Toggle the value the pin named test +Toggle the value of pin named test .Pp gpioctl -f /dev/gpioc0 -t test .It Toggle the value of pin number 12 even if another pin has the name 12 .Pp gpioctl -f /dev/gpioc0 -pt 12 +.It +Output the value of pin number 12 +.Pp +gpioctl -f /dev/gpioc0 12 .El .Sh SEE ALSO .Xr gpio 4 ,