summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppctl
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2014-04-03 14:47:03 +0000
committerjmc <jmc@openbsd.org>2014-04-03 14:47:03 +0000
commit5a0e70e7ec81968deb68fab7ab9c6f32951485c4 (patch)
tree663f6df2015929320e5d7899c81028385201f57e /usr.sbin/npppctl
parentXHCI -> xHCI to be consistent with device names. (diff)
downloadwireguard-openbsd-5a0e70e7ec81968deb68fab7ab9c6f32951485c4.tar.xz
wireguard-openbsd-5a0e70e7ec81968deb68fab7ab9c6f32951485c4.zip
various macro cleanup and tweaks;
ok yasuoka schwarze
Diffstat (limited to 'usr.sbin/npppctl')
-rw-r--r--usr.sbin/npppctl/npppctl.819
1 files changed, 9 insertions, 10 deletions
diff --git a/usr.sbin/npppctl/npppctl.8 b/usr.sbin/npppctl/npppctl.8
index cf2651472be..5208d5ce3d2 100644
--- a/usr.sbin/npppctl/npppctl.8
+++ b/usr.sbin/npppctl/npppctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: npppctl.8,v 1.4 2014/04/03 07:12:58 yasuoka Exp $
+.\" $OpenBSD: npppctl.8,v 1.5 2014/04/03 14:47:03 jmc Exp $
.\"
.\" Copyright (c) 2012 Internet Initiative Japan Inc.
.\"
@@ -19,8 +19,7 @@
.Os
.Sh NAME
.Nm npppctl
-.Nd control the npppd daemon
-.Xr npppd 8
+.Nd control npppd
.Sh SYNOPSIS
.Nm
.Op Fl n
@@ -47,40 +46,40 @@ instead of the default
to communicate with
.Xr npppd 8 .
.El
-.Sh NPPPD CONTROL COMMANDS
+.Pp
The following commands are available:
.Bl -tag -width Ds
-.It Cm clear Ar all | filter ...
+.It Cm clear all | Ar filter ...
Disconnect PPP sessions.
If
.Ar filter
is specified, only matching PPP sessions are disconnected.
If
-.Ar all
+.Cm all
is specified, all PPP sessions are disconnected.
See
.Cm session all
for the types of
.Ar filter .
-.It Cm monitor all | filter ...
+.It Cm monitor all | Ar filter ...
Monitor start and stop of PPP sessions.
If
.Ar filter
is specified, only matching PPP sessions are monitored.
If
-.Ar all
+.Cm all
is specified, all PPP sessions are monitored.
See
.Cm session all
for the types of
.Ar filter .
-.It Cm monitor all | filter ...
+.It Cm monitor all | Ar filter ...
Monitor start and stop of PPP sessions.
If
.Ar filter
is specified, only matching PPP sessions are monitored.
If
-.Ar all
+.Cm all
is specified, all PPP sessions are monitored.
See
.Cm session all