]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
tests/client.c: Clarify usage message.
authorSimon Ruderich <simon@ruderich.org>
Thu, 2 Jan 2014 15:10:29 +0000 (16:10 +0100)
committerSimon Ruderich <simon@ruderich.org>
Thu, 2 Jan 2014 15:10:29 +0000 (16:10 +0100)
tests/client.c

index 7ed4f05a1519de553a18ef46d381ec5c763d9951..9f9a53f5289a0d40bedcae79695a2508852f4f34 100644 (file)
@@ -65,7 +65,10 @@ int main (int argc, char *argv[]) {
     if (argc != 5 && argc != 6) {
         fprintf(stderr,
                 "Usage: %s <ca-file> <hostname> <port> <hostname-verify> "
     if (argc != 5 && argc != 6) {
         fprintf(stderr,
                 "Usage: %s <ca-file> <hostname> <port> <hostname-verify> "
-                          "[<digest-authentication>]\n",
+                          "[<digest-authentication>]\n"
+                "\n"
+                "tlsproxy must be running on port 4711, "
+                "<port> is the <hostname> port.\n",
                 argv[0]);
         return EXIT_FAILURE;
     }
                 argv[0]);
         return EXIT_FAILURE;
     }