|
From: <kin...@us...> - 2025-09-23 10:49:07
|
Revision: 7474
http://sourceforge.net/p/teem/code/7474
Author: kindlmann
Date: 2025-09-23 10:49:03 +0000 (Tue, 23 Sep 2025)
Log Message:
-----------
now with clang-format
Modified Paths:
--------------
teem/trunk/src/hest/parsest.c
teem/trunk/src/hest/test/tparse.c
Modified: teem/trunk/src/hest/parsest.c
===================================================================
--- teem/trunk/src/hest/parsest.c 2025-09-23 10:48:04 UTC (rev 7473)
+++ teem/trunk/src/hest/parsest.c 2025-09-23 10:49:03 UTC (rev 7474)
@@ -831,12 +831,12 @@
uint optNum = opt->arrLen;
for (uint opi = 0; opi < optNum; opi++) {
theOpt = opt + opi;
- if (theOpt->flag) { // this is a flagged option we should have handled above
- int needing = (1 != theOpt->kind // this kind of option can take a parm
+ if (theOpt->flag) { // this is a flagged option we should have handled above
+ int needing = (1 != theOpt->kind // this kind of option can take a parm
&& !(theOpt->dflt)); // and this option has no default
if (hparm->verbosity > 1) {
- printf("%s: flagged opt %u |%s| source = %s%s\n",
- __func__, opi, theOpt->flag, airEnumStr(hestSource, theOpt->source),
+ printf("%s: flagged opt %u |%s| source = %s%s\n", __func__, opi, theOpt->flag,
+ airEnumStr(hestSource, theOpt->source),
needing ? " <-- w/ parm but w/out default" : "");
}
// if needs to be set but hasn't been
Modified: teem/trunk/src/hest/test/tparse.c
===================================================================
--- teem/trunk/src/hest/test/tparse.c 2025-09-23 10:48:04 UTC (rev 7473)
+++ teem/trunk/src/hest/test/tparse.c 2025-09-23 10:49:03 UTC (rev 7474)
@@ -38,8 +38,10 @@
int verb;
hestOptAdd_1_Int(&opt, "v", "verb", &verb, "0", "verbosity");
- int *res; unsigned int slen;
- hestOptAdd_Nv_Int(&opt, "s,sizes", "sx sy", 2, -1, &res, NULL, "image resolutions", &slen);
+ int *res;
+ unsigned int slen;
+ hestOptAdd_Nv_Int(&opt, "s,sizes", "sx sy", 2, -1, &res, NULL, "image resolutions",
+ &slen);
int flag;
hestOptAdd_Flag(&opt, "b,bingo", &flag, "a flag");
char *err = NULL;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|