summaryrefslogtreecommitdiff
path: root/usr.sbin/gpioctl/gpioctl.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-10-04 07:19:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-10-04 07:19:14 +0000
commit22d59143b24c68530a21ef23cc3558ea72dab438 (patch)
tree36978552ffff109651b05d04bbcf847e0e7c13f5 /usr.sbin/gpioctl/gpioctl.c
parentf68581de654e801b4a24ed616c4eab9999125420 (diff)
- sync usage() and SYNOPSIS
- document "flag", for I2C devices - "pin" is not optional ok matthieu
Diffstat (limited to 'usr.sbin/gpioctl/gpioctl.c')
-rw-r--r--usr.sbin/gpioctl/gpioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/gpioctl/gpioctl.c b/usr.sbin/gpioctl/gpioctl.c
index 7d9a29f74ed..2d9e5991a15 100644
--- a/usr.sbin/gpioctl/gpioctl.c
+++ b/usr.sbin/gpioctl/gpioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gpioctl.c,v 1.15 2011/10/03 20:24:51 matthieu Exp $ */
+/* $OpenBSD: gpioctl.c,v 1.16 2011/10/04 07:19:13 jmc Exp $ */
/*
* Copyright (c) 2008 Marc Balmer <mbalmer@openbsd.org>
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
@@ -344,7 +344,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-q] device [pin] [0 | 1 | 2 | "
+ fprintf(stderr, "usage: %s [-q] device pin [0 | 1 | 2 | "
"on | off | toggle]\n", __progname);
fprintf(stderr, " %s [-q] device pin set [flags] [name]\n",
__progname);