Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/i2cscan Add an EXAMPLES section to show what 'i2cde...
details: https://anonhg.NetBSD.org/src/rev/0bd2f2d42699
branches: trunk
changeset: 341864:0bd2f2d42699
user: hubertf <hubertf%NetBSD.org@localhost>
date: Thu Nov 26 16:56:52 2015 +0000
description:
Add an EXAMPLES section to show what 'i2cdev' looks like.
Hint: /dev required!
diffstat:
usr.sbin/i2cscan/i2cscan.8 | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 4b59a7843738 -r 0bd2f2d42699 usr.sbin/i2cscan/i2cscan.8
--- a/usr.sbin/i2cscan/i2cscan.8 Thu Nov 26 16:27:05 2015 +0000
+++ b/usr.sbin/i2cscan/i2cscan.8 Thu Nov 26 16:56:52 2015 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: i2cscan.8,v 1.3 2013/07/10 15:18:54 tcort Exp $
+.\" $NetBSD: i2cscan.8,v 1.4 2015/11/26 16:56:52 hubertf Exp $
.\"
.\" Copyright (c) 2011, 2013 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -62,5 +62,9 @@
accept all sorts of unforeseen consequences.
.Sh EXIT STATUS
.Ex -std i2cscan
+.Sh EXAMPLES
+Scan the first IIC bus found on the system for devices:
+.Pp
+.Dl "i2cscan /dev/iic0"
.Sh SEE ALSO
.Xr iic 4
Home |
Main Index |
Thread Index |
Old Index