Change -U udsname to -U sockfile for clarification.

This commit is contained in:
Quentin Rameau 2017-07-11 13:58:55 +02:00 committed by Laslo Hunhold
parent d7cf0d7f57
commit e46344e449
2 changed files with 5 additions and 5 deletions

View file

@ -12,7 +12,7 @@
.Op Fl p Ar port .Op Fl p Ar port
.Oc .Oc
| |
.Op Fl U Ar udsocket .Op Fl U Ar sockfile
.Oc .Oc
.Op Fl d Ar dir .Op Fl d Ar dir
.Op Fl l .Op Fl l
@ -49,9 +49,9 @@ for incoming connections.
Set user ID to the ID of Set user ID to the ID of
.Ar user .Ar user
when dropping privileges. when dropping privileges.
.It Fl U Ar udsocket .It Fl U Ar sockfile
Create the UNIX-domain socket Create the UNIX-domain socket file
.Ar udsocket .Ar sockfile
and listen on it for incoming connections. and listen on it for incoming connections.
.It Fl v .It Fl v
Print version information to stdout and exit. Print version information to stdout and exit.

View file

@ -912,7 +912,7 @@ getusock(char *udsname)
static void static void
usage(void) usage(void)
{ {
die("usage: %s [-v] [[[-h host] [-p port]] | [-U udsocket]] " die("usage: %s [-v] [[[-h host] [-p port]] | [-U sockfile]] "
"[-d dir] [-l] [-L] [-u user] [-g group]\n", argv0); "[-d dir] [-l] [-L] [-u user] [-g group]\n", argv0);
} }