comparison th_args.c @ 673:1763d9b26a58

Do not show 'Invalid argument' message, assume the caller does it.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 Feb 2020 16:11:38 +0200
parents c5ce9a4bfc3e
children 4ca6a3b30fe8
comparison
equal deleted inserted replaced
672:1d4d22c862ed 673:1763d9b26a58
159 { 159 {
160 // Was not option argument 160 // Was not option argument
161 if (handle_other == NULL || 161 if (handle_other == NULL ||
162 (handle_other != NULL && !handle_other(str))) 162 (handle_other != NULL && !handle_other(str)))
163 { 163 {
164 THERR("Invalid argument '%s'\n", str);
165 optionsOK = FALSE; 164 optionsOK = FALSE;
166 } 165 }
167 } 166 }
168 167
169 // Check if we bail out on invalid argument 168 // Check if we bail out on invalid argument