summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-10-27 18:26:14 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-10-27 18:26:14 +0000
commit86d5dc8160f79dd733f170b48cfe9cf9a06db7ce (patch)
tree1ae099424e3cebf95702ba98d4deaf87fdd5c831 /usr.sbin/rtadvd
parent5cc720499c9d1d773fc5c2f8b5199cb67c980c1e (diff)
sort options and sync usage();
Diffstat (limited to 'usr.sbin/rtadvd')
-rw-r--r--usr.sbin/rtadvd/rtadvd.810
-rw-r--r--usr.sbin/rtadvd/rtadvd.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/rtadvd/rtadvd.8 b/usr.sbin/rtadvd/rtadvd.8
index 58d80e9eaed..3e35165118e 100644
--- a/usr.sbin/rtadvd/rtadvd.8
+++ b/usr.sbin/rtadvd/rtadvd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rtadvd.8,v 1.20 2003/08/08 10:13:33 jmc Exp $
+.\" $OpenBSD: rtadvd.8,v 1.21 2005/10/27 18:26:13 jmc Exp $
.\" $KAME: rtadvd.8,v 1.18 2002/04/28 10:43:02 jinmei Exp $
.\"
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -36,7 +36,7 @@
.Nd router advertisement daemon
.Sh SYNOPSIS
.Nm
-.Op Fl dDfMRs
+.Op Fl DdfMRs
.Op Fl c Ar configfile
.Ar interface ...
.Sh DESCRIPTION
@@ -89,17 +89,17 @@ advertising interface.
The command line options are:
.Bl -tag -width indent
.\"
-.It Fl c
+.It Fl c Ar configfile
Specify an alternate location,
.Ar configfile ,
for the configuration file.
By default,
.Pa /etc/rtadvd.conf
is used.
-.It Fl d
-Print debugging information.
.It Fl D
Even more debugging information is printed.
+.It Fl d
+Print debugging information.
.It Fl f
Foreground mode (useful when debugging).
Log messages will be dumped to stderr when this option is specified.
diff --git a/usr.sbin/rtadvd/rtadvd.c b/usr.sbin/rtadvd/rtadvd.c
index 9aa64d7b7fc..c338f1126f7 100644
--- a/usr.sbin/rtadvd/rtadvd.c
+++ b/usr.sbin/rtadvd/rtadvd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtadvd.c,v 1.25 2003/03/14 18:46:45 itojun Exp $ */
+/* $OpenBSD: rtadvd.c,v 1.26 2005/10/27 18:26:13 jmc Exp $ */
/* $KAME: rtadvd.c,v 1.66 2002/05/29 14:18:36 itojun Exp $ */
/*
@@ -188,8 +188,8 @@ main(argc, argv)
argv += optind;
if (argc == 0) {
fprintf(stderr,
- "usage: rtadvd [-dDfMRs] [-c conffile] "
- "interfaces...\n");
+ "usage: rtadvd [-DdfMRs] [-c configfile] "
+ "interface ...\n");
exit(1);
}