comparison nnchat.c @ 381:7c28f38cb6dd

Update to use new th-libs from the subrepo.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 03 Oct 2011 15:43:42 +0300
parents 1617d0a0c58e
children bbd5edbf1143
comparison
equal deleted inserted replaced
380:727ce827482b 381:7c28f38cb6dd
103 const int optListN = (sizeof(optList) / sizeof(optList[0])); 103 const int optListN = (sizeof(optList) / sizeof(optList[0]));
104 104
105 105
106 void argShowHelp(void) 106 void argShowHelp(void)
107 { 107 {
108 th_args_help(stdout, optList, optListN, th_prog_name, 108 th_print_banner(stdout, th_prog_name,
109 "[options] <username> <password>"); 109 "[options] <username> <password>");
110
111 th_args_help(stdout, optList, optListN);
110 } 112 }
111 113
112 114
113 BOOL argHandleOpt(const int optN, char *optArg, char *currArg) 115 BOOL argHandleOpt(const int optN, char *optArg, char *currArg)
114 { 116 {