Page MenuHomeFreeBSD

D50795.diff
No OneTemporary

D50795.diff

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 ,

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 31, 4:00 PM (1 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35789793
Default Alt Text
D50795.diff (631 B)

Event Timeline