|
From: <kin...@us...> - 2025-09-23 10:27:39
|
Revision: 7472
http://sourceforge.net/p/teem/code/7472
Author: kindlmann
Date: 2025-09-23 10:27:36 +0000 (Tue, 23 Sep 2025)
Log Message:
-----------
now with clang-format
Modified Paths:
--------------
teem/trunk/src/hest/argvHest.c
teem/trunk/src/hest/parsest.c
Modified: teem/trunk/src/hest/argvHest.c
===================================================================
--- teem/trunk/src/hest/argvHest.c 2025-09-23 10:26:02 UTC (rev 7471)
+++ teem/trunk/src/hest/argvHest.c 2025-09-23 10:27:36 UTC (rev 7472)
@@ -178,7 +178,8 @@
void
hestArgVecPrint(const char *caller, const char *info, const hestArgVec *havec) {
- // fprintf(stderr, "!%s: %s hestArgVec %p has %u args:\n", caller, info, havec, havec->len);
+ // fprintf(stderr, "!%s: %s hestArgVec %p has %u args:\n", caller, info, havec,
+ // havec->len);
printf("%s: %s hestArgVec %p has %u args:\n", caller, info, havec, havec->len);
for (uint idx = 0; idx < havec->hargArr->len; idx++) {
const hestArg *harg;
Modified: teem/trunk/src/hest/parsest.c
===================================================================
--- teem/trunk/src/hest/parsest.c 2025-09-23 10:26:02 UTC (rev 7471)
+++ teem/trunk/src/hest/parsest.c 2025-09-23 10:27:36 UTC (rev 7472)
@@ -833,15 +833,16 @@
theOpt = opt + opi;
if (1 != theOpt->kind // this kind of option can take a parm
&& theOpt->flag // and this is a flagged option we should have handled above
- && !(theOpt->dflt)) { // and this option has no default
- if (hparm->verbosity > 1) {
- printf("%s: opt %u |%s| (flagged opt w/ parm but no default) source = %s\n",
- __func__, opi, theOpt->flag, airEnumStr(hestSource, theOpt->source));
- }
- if (hestSourceUnknown == theOpt->source) { // but this option hasn't been set
- biffAddf(HEST, "%s: didn't get required %s\n", __func__, identStr(ident1, theOpt));
- return 1;
- }
+ && !(theOpt->dflt)) { // and this option has no default
+ if (hparm->verbosity > 1) {
+ printf("%s: opt %u |%s| (flagged opt w/ parm but no default) source = %s\n",
+ __func__, opi, theOpt->flag, airEnumStr(hestSource, theOpt->source));
+ }
+ if (hestSourceUnknown == theOpt->source) { // but this option hasn't been set
+ biffAddf(HEST, "%s: didn't get required %s\n", __func__,
+ identStr(ident1, theOpt));
+ return 1;
+ }
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|