|
From: <kin...@us...> - 2023-07-14 12:28:21
|
Revision: 7100
http://sourceforge.net/p/teem/code/7100
Author: kindlmann
Date: 2023-07-14 12:28:18 +0000 (Fri, 14 Jul 2023)
Log Message:
-----------
using new hparm->noArgsIsNoProblem and nrrdHestNrrdNoTTY
Modified Paths:
--------------
teem/trunk/src/ten/tendUnmf.c
Modified: teem/trunk/src/ten/tendUnmf.c
===================================================================
--- teem/trunk/src/ten/tendUnmf.c 2023-07-14 12:27:09 UTC (rev 7099)
+++ teem/trunk/src/ten/tendUnmf.c 2023-07-14 12:28:18 UTC (rev 7100)
@@ -39,13 +39,10 @@
Nrrd *nin, *nout;
char *outS;
- hestOptAdd(&hopt, "i", "nin", airTypeOther, 1, 1, &nin, NULL,
- "input diffusion tensor volume "
- "(sorry, can't use usual default of \"-\" for stdin "
- "because of hest quirk)",
- NULL, NULL, nrrdHestNrrd);
- hestOptAdd(&hopt, "o", "nout", airTypeString, 1, 1, &outS, "-",
- "output tensor volume");
+ hparm->noArgsIsNoProblem = AIR_TRUE;
+ hestOptAdd_1_Other(&hopt, "i", "nin", &nin, "-", "input diffusion tensor volume ",
+ nrrdHestNrrdNoTTY);
+ hestOptAdd_1_String(&hopt, "o", "nout", &outS, "-", "output tensor volume");
mop = airMopNew();
airMopAdd(mop, hopt, (airMopper)hestOptFree, airMopAlways);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|