|
From: <kin...@us...> - 2025-09-25 11:28:21
|
Revision: 7490
http://sourceforge.net/p/teem/code/7490
Author: kindlmann
Date: 2025-09-25 11:28:19 +0000 (Thu, 25 Sep 2025)
Log Message:
-----------
better error messages
Modified Paths:
--------------
teem/trunk/src/hest/parsest.c
Modified: teem/trunk/src/hest/parsest.c
===================================================================
--- teem/trunk/src/hest/parsest.c 2025-09-25 11:24:21 UTC (rev 7489)
+++ teem/trunk/src/hest/parsest.c 2025-09-25 11:28:19 UTC (rev 7490)
@@ -1039,8 +1039,8 @@
descriptive error message about the situation */
if (opt[opi].min /* == max */ < havec->len || !opt[opi].dflt) {
if (havecTransfer(opt + opi, havec, 0, opt[opi].min, hparm)) {
- biffAddf(HEST, "%s%strouble getting args for unflagged %s[%u]", _ME_,
- identStr(ident, opt + opi), opi);
+ biffAddf(HEST, "%s%strouble getting args for %sunflagged %s[%u]", _ME_,
+ !opt[opi].dflt ? "default-less " : "", identStr(ident, opt + opi), opi);
return (free(ufOpi2), 1);
}
}
@@ -1066,8 +1066,8 @@
? havec->len - opt[opi].min //
: 0);
if (havecTransfer(opt + opi, havec, idx0, opt[opi].min, hparm)) {
- biffAddf(HEST, "%s%strouble getting args for (later) unflagged %s[%u]", _ME_,
- identStr(ident, opt + opi), opi);
+ biffAddf(HEST, "%s%strouble getting args for (later) %sunflagged %s[%u]", _ME_,
+ !opt[opi].dflt ? "default-less " : "", identStr(ident, opt + opi), opi);
return (free(ufOpi2), 1);
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|