Page MenuHomeFreeBSD

D50795.1783915983.diff
No OneTemporary

Size
631 B
Referenced Files
None
Subscribers
None

D50795.1783915983.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
Mon, Jul 13, 4:13 AM (4 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29105025
Default Alt Text
D50795.1783915983.diff (631 B)

Event Timeline