summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2010-09-25 11:57:23 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2010-09-25 11:57:23 +0000
commit18a60da62478b339054f6e652921ea538dc8ce16 (patch)
tree1bf66d755ebc9081ae7495cd17c930bb18563ede /usr.sbin
parent521684614c2cdef37ab9f6ef87838d6df2e8b98d (diff)
use a consistent argument name in both synopsis and usage; argument
name choosed with help from dlg@ ok claudio@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/iscsid/iscsid.88
-rw-r--r--usr.sbin/iscsid/iscsid.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/iscsid/iscsid.8 b/usr.sbin/iscsid/iscsid.8
index 148b2c42671..bab80df21e4 100644
--- a/usr.sbin/iscsid/iscsid.8
+++ b/usr.sbin/iscsid/iscsid.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: iscsid.8,v 1.1 2010/09/24 10:53:14 dlg Exp $
+.\" $OpenBSD: iscsid.8,v 1.2 2010/09/25 11:57:22 sobrado Exp $
.\"
.\" Copyright (c) 2010 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: September 24 2010 $
+.Dd $Mdocdate: September 25 2010 $
.Dt ISCSID 8
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl d
-.Op Fl n Ar file
+.Op Fl n Ar device
.Op Fl s Ar socket
.Sh DESCRIPTION
.Nm
@@ -48,7 +48,7 @@ If this option is specified,
.Nm
will run in the foreground and log to
.Em stderr .
-.It Fl n Ar file
+.It Fl n Ar device
Use an alternate /dev entry for communicating with the kernel.
.It Fl s Ar socket
Use an alternate location for the default control socket.
diff --git a/usr.sbin/iscsid/iscsid.c b/usr.sbin/iscsid/iscsid.c
index 8d226550256..0b9a0255b30 100644
--- a/usr.sbin/iscsid/iscsid.c
+++ b/usr.sbin/iscsid/iscsid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iscsid.c,v 1.1 2010/09/24 09:43:19 claudio Exp $ */
+/* $OpenBSD: iscsid.c,v 1.2 2010/09/25 11:57:22 sobrado Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
@@ -145,7 +145,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-d] [-n vscsi] [-s socket]\n",
+ fprintf(stderr, "usage: %s [-d] [-n device] [-s socket]\n",
__progname);
exit(1);
}