]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/client.c
tests/client.c: Clarify usage message.
[tlsproxy/tlsproxy.git] / tests / client.c
index 4995536c548bdd14f4e2fcd661c9c3e175b20205..9f9a53f5289a0d40bedcae79695a2508852f4f34 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Simple GnuTLS client used for testing.
  *
- * Copyright (C) 2011-2013  Simon Ruderich
+ * Copyright (C) 2011-2014  Simon Ruderich
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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> "
-                          "[<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;
     }