Consistently mention [tioarg ...] in pattyd(8)

This commit is contained in:
XANTRONIX Development 2020-09-10 20:44:34 -04:00 committed by XANTRONIX Industrial
parent 0886730131
commit f513f252bc
2 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@
.Op Fl f .Op Fl f
.Op Fl c Ar pattyd.conf .Op Fl c Ar pattyd.conf
.Nm .Nm
.Fl s Ar patty.sock MYCALL /dev/ttyXYZ Op tioargs ... .Fl s Ar patty.sock MYCALL /dev/ttyXYZ Op tioarg ...
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
provides an AX.25 userland stack daemon which can be used to communicate with provides an AX.25 userland stack daemon which can be used to communicate with
@ -39,7 +39,7 @@ Run daemon in foreground.
Specify a configuration file to load. When this option is not specified, the Specify a configuration file to load. When this option is not specified, the
default configuration file is default configuration file is
.Pa /etc/patty/pattyd.conf . .Pa /etc/patty/pattyd.conf .
.It Fl s Ar patty.sock MYCALL /dev/ttyXYZ Op tioargs ... .It Fl s Ar patty.sock MYCALL /dev/ttyXYZ Op tioarg ...
Run in standalone mode, without requiring a configuration file. In this mode, Run in standalone mode, without requiring a configuration file. In this mode,
a single interface, a single interface,
.Li kiss0 , .Li kiss0 ,
@ -48,7 +48,7 @@ is created, with address
using using
.Ar /dev/ttyXYZ .Ar /dev/ttyXYZ
as a KISS interface, and zero or more optional as a KISS interface, and zero or more optional
.Op tioargs ... .Op tioarg ...
given to specify baud rate or flow control. Valid settings are: given to specify baud rate or flow control. Valid settings are:
.Li 1200 , 9600 , crtscts , xonxoff . .Li 1200 , 9600 , crtscts , xonxoff .
.El .El

View file

@ -29,7 +29,7 @@ static int usage(int argc, char **argv, const char *message, ...) {
} }
fprintf(stderr, "usage: %s [-f] [-c pattyd.conf]\n" fprintf(stderr, "usage: %s [-f] [-c pattyd.conf]\n"
" %s [-f] -s patty.sock MYCALL /dev/ttyXYZ [tioflags ...]\n", " %s [-f] -s patty.sock MYCALL /dev/ttyXYZ [tioarg ...]\n",
argv[0], argv[0]); argv[0], argv[0]);
return EX_USAGE; return EX_USAGE;