comparison main.c @ 698:28fe6a1be852

Adjust to th-libs th_args_help() API change.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 20:28:35 +0200
parents adac0e9f2810
children e9232ce52bf8
comparison
equal deleted inserted replaced
697:adac0e9f2810 698:28fe6a1be852
143 void argShowHelp(void) 143 void argShowHelp(void)
144 { 144 {
145 int i; 145 int i;
146 th_print_banner(stdout, th_prog_name, "[options] <username> <password>"); 146 th_print_banner(stdout, th_prog_name, "[options] <username> <password>");
147 147
148 th_args_help(stdout, optList, optListN, 0); 148 th_args_help(stdout, optList, optListN, 0, 80 - 2);
149 149
150 printf( 150 printf(
151 "\n" 151 "\n"
152 "Supported proxy types are SOCKS 4/4A and SOCKS 5.\n" 152 "Supported proxy types are SOCKS 4/4A and SOCKS 5.\n"
153 "(Only user/pass auth and no auth supported, no GSSAPI!)\n" 153 "(Only user/pass auth and no auth supported, no GSSAPI!)\n"