commit e46344e449feeeb42487ce14e58a65261ef6d26e
Author:     Quentin Rameau <[email protected]>
AuthorDate: Tue Jul 11 13:58:55 2017 +0200
Commit:     Laslo Hunhold <[email protected]>
CommitDate: Tue Jul 11 14:09:27 2017 +0200

    Change -U udsname to -U sockfile for clarification.

diff --git a/quark.1 b/quark.1
index f95d199..f29618a 100644
--- 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
index 6f49ecc..bf0c6f9 100644
--- 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);
 }
 

Reply via email to