comparison tools/gentab.c @ 2402:b7cd5dd0b82e

Merge one more change from th-libs args processing.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 12 Jan 2020 20:50:45 +0200
parents 2e656da1b10b
children
comparison
equal deleted inserted replaced
2401:263093248f26 2402:b7cd5dd0b82e
75 75
76 void argShowHelp() 76 void argShowHelp()
77 { 77 {
78 int index; 78 int index;
79 dmPrintBanner(stdout, dmProgName, "[options]"); 79 dmPrintBanner(stdout, dmProgName, "[options]");
80 dmArgsPrintHelp(stdout, optList, optListN, 0); 80 dmArgsPrintHelp(stdout, optList, optListN, 0, 80 - 2);
81 81
82 printf("\nAvailable types:\n"); 82 printf("\nAvailable types:\n");
83 for (index = 0; index < MT_LAST; index++) 83 for (index = 0; index < MT_LAST; index++)
84 { 84 {
85 DMTransType *tm = &dmTransTypes[index]; 85 DMTransType *tm = &dmTransTypes[index];