changeset 706:4426bbf3264b

Remove silly.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Feb 2020 12:23:53 +0200
parents cc4478e5a8c3
children 11eb7c30889e
files main.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Sat Feb 29 12:23:08 2020 +0200
+++ b/main.c	Sat Feb 29 12:23:53 2020 +0200
@@ -123,7 +123,7 @@
  */
 static const th_optarg optList[] =
 {
-    { 0, '?', "help",       "Show this help and be so very much verbose that it almost hurts you", OPT_NONE },
+    { 0, '?', "help",       "Show this help", OPT_NONE },
     { 1, 'v', "verbose",    "Be more verbose", OPT_NONE },
     { 2, 'p', "port",       "Connect to port", OPT_ARGREQ },
     { 3, 's', "server",     "Server to connect to", OPT_ARGREQ },
@@ -142,7 +142,6 @@
 
 void argShowHelp(void)
 {
-    int i;
     th_print_banner(stdout, th_prog_name, "[options] <username> <password>");
 
     th_args_help(stdout, optList, optListN, 0, 80 - 2);
@@ -164,7 +163,7 @@
     "Supported rooms (for option '-r'):\n",
     SET_PROXY_PORT);
 
-    for (i = 0; i < nn_room_data_n; i++)
+    for (int i = 0; i < nn_room_data_n; i++)
     {
         const nn_room_data_t *rdata = &nn_room_data[i];