summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/netstart4
-rw-r--r--share/man/man8/netstart.87
2 files changed, 6 insertions, 5 deletions
diff --git a/etc/netstart b/etc/netstart
index 6da1f4084a6..88856d5a3db 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,13 +1,13 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.219 2022/07/03 12:14:36 kn Exp $
+# $OpenBSD: netstart,v 1.220 2022/10/21 12:04:51 kn Exp $
# Turn off Strict Bourne shell mode.
set +o sh
# Show usage of the netstart script and exit.
usage() {
- print -u2 "usage: ${0##*/} [[-n] interface ...]"
+ print -u2 "usage: ${0##*/} [-n] [interface ...]"
exit 1
}
diff --git a/share/man/man8/netstart.8 b/share/man/man8/netstart.8
index b17bb76a7f5..525d52a69af 100644
--- a/share/man/man8/netstart.8
+++ b/share/man/man8/netstart.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: netstart.8,v 1.27 2022/07/05 08:14:12 kn Exp $
+.\" $OpenBSD: netstart.8,v 1.28 2022/10/21 12:04:51 kn Exp $
.\"
.\" Copyright (c) 2002, Miodrag Vallat.
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\"
.\" @(#)rc.8 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: July 5 2022 $
+.Dd $Mdocdate: October 21 2022 $
.Dt NETSTART 8
.Os
.Sh NAME
@@ -33,7 +33,8 @@
.Nd command script for network startup
.Sh SYNOPSIS
.Nm /etc/netstart
-.Op Oo Fl n Oc Ar interface ...
+.Op Fl n
+.Op Ar interface ...
.Sh DESCRIPTION
.Nm
is the command script that is invoked by