quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit e46344e449feeeb42487ce14e58a65261ef6d26e
parent d7cf0d7f57dbd5650c5cf868eb71613f6969d757
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 11 Jul 2017 13:58:55 +0200

Change -U udsname to -U sockfile for clarification.

Diffstat:
Mquark.1 | 8++++----
Mquark.c | 2+-
2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/quark.1 b/quark.1 @@ -12,7 +12,7 @@ .Op Fl p Ar port .Oc | -.Op Fl U Ar udsocket +.Op Fl U Ar sockfile .Oc .Op Fl d Ar dir .Op Fl l @@ -49,9 +49,9 @@ for incoming connections. Set user ID to the ID of .Ar user when dropping privileges. -.It Fl U Ar udsocket -Create the UNIX-domain socket -.Ar udsocket +.It Fl U Ar sockfile +Create the UNIX-domain socket file +.Ar sockfile and listen on it for incoming connections. .It Fl v Print version information to stdout and exit. diff --git a/quark.c b/quark.c @@ -912,7 +912,7 @@ getusock(char *udsname) static 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); }