On Fri, Jan 07, 2011 at 12:13:43PM -0800, Jeremy Evans wrote:
> 
> Index: nc.1
> ===================================================================
> RCS file: /cvs/src/usr.bin/nc/nc.1,v
> retrieving revision 1.55
> diff -u -p -r1.55 nc.1
> --- nc.1      25 Jul 2010 07:51:39 -0000      1.55
> +++ nc.1      7 Jan 2011 20:08:35 -0000
> @@ -155,6 +155,10 @@ assigns them.
>  Enables the RFC 2385 TCP MD5 signature option.
>  .It Fl s Ar source_ip_address
>  Specifies the IP of the interface which is used to send the packets.
> +For 
> +.Ux Ns -domain
> +datagram sockets, specifies the local temporary socket file
> +to create and use so that datagrams can be received.

so is "source_ip_address" a bad choice of name for datagram sockets?

>  It is an error to use this option in conjunction with the
>  .Fl l
>  option.
> @@ -179,6 +183,15 @@ Specifies to use
>  sockets.
>  .It Fl u
>  Use UDP instead of the default option of TCP.
> +For
> +.Ux Ns -domain
> +sockets, use a datagram socket instead of a stream socket.
> +If a 
> +.Ux Ns -domain
> +socket is used, a temporary receiving socket is created in /tmp unless

you should probably use ".Pa /tmp"

> +you specify one with the
> +.Fl s
> +flag.


...unless the -s option/flag is used/given/specified.
(we try to avoid 2nd person narrative in man pages)

i still think the name of the -s arg is now misleading.

jmc

>  .It Fl V Ar rtable
>  Set the routing table to be used.
>  The default is 0.

Reply via email to