summaryrefslogtreecommitdiff
path: root/usr.sbin/pppctl
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-02-01 16:44:04 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-02-01 16:44:04 +0000
commit610a5778c5c8d73cb2bbbe7761f8cb312dc96392 (patch)
tree201726ab6d3926ac9639b0be8a4461fd45c51b66 /usr.sbin/pppctl
parent1c59150ad7f1c8cbac72f0a1c662d910b25a3282 (diff)
Notes
Diffstat (limited to 'usr.sbin/pppctl')
-rw-r--r--usr.sbin/pppctl/pppctl.814
1 files changed, 10 insertions, 4 deletions
diff --git a/usr.sbin/pppctl/pppctl.8 b/usr.sbin/pppctl/pppctl.8
index 357681581b5e..f540aac180ec 100644
--- a/usr.sbin/pppctl/pppctl.8
+++ b/usr.sbin/pppctl/pppctl.8
@@ -11,8 +11,14 @@ PPP control program
.Op Fl v
.Op Fl t Ar n
.Op Fl p Ar passwd
-.Ar [host:]Port | LocalSocket
-.Op command[;command]...
+.Xo Oo Ar host : Oc Ns
+.Ar Port | LocalSocket
+.Xc
+.Oo
+.Sm off
+.Ar command Oo ; Ar command Oc Ar ...
+.Sm on
+.Oc
.Sh DESCRIPTION
This program provides command line control of the
.Xr ppp 8
@@ -30,7 +36,7 @@ for details. If the socket contains a leading '/', it
is taken as an
.Dv AF_LOCAL
socket. If it contains a colon, it is treated as a
-.Ar host:port
+.Ar host : Ns Ar port
pair, otherwise it is treated as a TCP port specification on the
local machine (127.0.0.1). Both the
.Ar host
@@ -41,7 +47,7 @@ or don't have an entry for the given port in
.Pa /etc/services .
.Pp
All remaining arguments are concatenated to form the
-.Ar command(s)
+.Ar command Ns (s)
that will be sent to the
.Nm ppp
daemon. If any semi-colon characters are found, they are treated as