summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-06-08 23:05:15 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2006-06-08 23:05:15 +0000
commitec976fde55ce9a0dce8bd778b148cffdc5075a07 (patch)
tree056a639393dd921fdd8d51eebc376d00bc5823a1 /sbin
parent09aca71b64f3a00544e8d83723f621f306fad7b0 (diff)
fix usage, make synopsis more pretty. noticed by david@
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipsecctl/ipsecctl.84
-rw-r--r--sbin/ipsecctl/ipsecctl.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/sbin/ipsecctl/ipsecctl.8 b/sbin/ipsecctl/ipsecctl.8
index 433229ae488..3929e28570c 100644
--- a/sbin/ipsecctl/ipsecctl.8
+++ b/sbin/ipsecctl/ipsecctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipsecctl.8,v 1.18 2006/05/31 07:54:48 jmc Exp $
+.\" $OpenBSD: ipsecctl.8,v 1.19 2006/06/08 23:05:14 hshoexer Exp $
.\"
.\" Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
.\"
@@ -23,8 +23,10 @@
.Sh SYNOPSIS
.Nm ipsecctl
.Op Fl dFmnv
+.Xo
.Oo Fl D
.Ar macro Ns = Ns Ar value Oc
+.Xc
.Op Fl f Ar file
.Op Fl s Ar modifier
.Sh DESCRIPTION
diff --git a/sbin/ipsecctl/ipsecctl.c b/sbin/ipsecctl/ipsecctl.c
index 4be6f4ed17b..c961ebd2d4b 100644
--- a/sbin/ipsecctl/ipsecctl.c
+++ b/sbin/ipsecctl/ipsecctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsecctl.c,v 1.57 2006/06/02 18:04:17 hshoexer Exp $ */
+/* $OpenBSD: ipsecctl.c,v 1.58 2006/06/08 23:05:14 hshoexer Exp $ */
/*
* Copyright (c) 2004, 2005 Hans-Joerg Hoexer <hshoexer@openbsd.org>
*
@@ -563,7 +563,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-dFnv] [-D macro=value] [-f file]"
+ fprintf(stderr, "usage: %s [-dFmnv] [-D macro=value] [-f file]"
" [-s modifier]\n", __progname);
exit(1);
}