summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2023-01-03 19:24:45 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2023-01-03 19:24:45 +0000
commit8e56bd06b559b45d6a8544ae2b1f752a5b3da516 (patch)
treed08dbe573bd46b14a8eb42d87fb2cd419d4793ed /sys/man
parent68c88ddf3d41bc310e307663ac95ff1ec0353a38 (diff)
dial(1): document -o options
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/1/dial14
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/man/1/dial b/sys/man/1/dial
index 74702869e..7e888be56 100644
--- a/sys/man/1/dial
+++ b/sys/man/1/dial
@@ -4,6 +4,10 @@ dial - connect to a remote service
.SH SYNOPSIS
.B aux/dial
.RB [ -e ]
+[
+.B -o
+.I msg
+]...
.I addr
[
.I cmd
@@ -33,9 +37,15 @@ If
is given, then
.I cmd
is executed with standard input and output connected to
-the network connection.
+.PP
+The -o option cause protocol-specific control messages
+to be written to the control file of the network connection
+(see
+.IR ip (3)).
+It can be specified multiple times.
.SH SOURCE
.B /sys/src/cmd/aux/dial.c
.SH SEE ALSO
.IR dial (2),
-.IR listen (8)
+.IR listen (8),
+.IR ip (3)