|
From: <kin...@us...> - 2023-07-13 23:23:50
|
Revision: 7098
http://sourceforge.net/p/teem/code/7098
Author: kindlmann
Date: 2023-07-13 23:23:48 +0000 (Thu, 13 Jul 2023)
Log Message:
-----------
turning OFF hparm->elideSingleOtherDefault (or, no longer turning it on), since it needlessly obscured what the -i input option to most unu commands was
Modified Paths:
--------------
teem/trunk/src/bin/unu.c
Modified: teem/trunk/src/bin/unu.c
===================================================================
--- teem/trunk/src/bin/unu.c 2023-07-13 23:05:20 UTC (rev 7097)
+++ teem/trunk/src/bin/unu.c 2023-07-13 23:23:48 UTC (rev 7098)
@@ -64,12 +64,17 @@
airMopAdd(mop, hparm, hestParmFree_vp, airMopAlways);
hparm->elideSingleEnumType = AIR_TRUE;
hparm->elideSingleOtherType = AIR_TRUE;
- hparm->elideSingleOtherDefault = AIR_TRUE;
+ /*
+ * This prevents clarifying that the default input is "-" i.e. stdin, and it was
+ * explicitly turned off in multiple commands (such as resample). In the interests of
+ * clarity, no longer want to elide this info.
+ * hparm->elideSingleOtherDefault = AIR_TRUE;
+ */
hparm->elideSingleNonExistFloatDefault = AIR_TRUE;
hparm->elideMultipleNonExistFloatDefault = AIR_TRUE;
hparm->elideSingleEmptyStringDefault = AIR_TRUE;
hparm->elideMultipleEmptyStringDefault = AIR_TRUE;
- /* so that we look for, and know how to handle, seeing "--help" */
+ /* say that we look for, and know how to handle, seeing "--help" */
hparm->respectDashDashHelp = AIR_TRUE;
/* Try to dynamically learn number of columns. Learning the terminal size will probably
work if stdout is the terminal, but not if we're piping elsewhere (as is common with
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|