comparison src/dmargs.c @ 2436:b7f622d39efc

Do not show 'Invalid argument' message, assume the caller does it.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 24 Feb 2020 16:12:16 +0200
parents bb7264ddaefd
children c6ee41fd98dd
comparison
equal deleted inserted replaced
2435:8d8197b3d052 2436:b7f622d39efc
158 { 158 {
159 // Was not option argument 159 // Was not option argument
160 if (handle_other == NULL || 160 if (handle_other == NULL ||
161 (handle_other != NULL && !handle_other(str))) 161 (handle_other != NULL && !handle_other(str)))
162 { 162 {
163 dmErrorMsg("Invalid argument '%s'\n", str);
164 optionsOK = FALSE; 163 optionsOK = FALSE;
165 } 164 }
166 } 165 }
167 166
168 // Check if we bail out on invalid argument 167 // Check if we bail out on invalid argument