|
From: <kin...@us...> - 2025-09-30 23:23:27
|
Revision: 7554
http://sourceforge.net/p/teem/code/7554
Author: kindlmann
Date: 2025-09-30 23:23:25 +0000 (Tue, 30 Sep 2025)
Log Message:
-----------
updating this test so it successfully shows the usage info for all the unu commands
Modified Paths:
--------------
teem/trunk/tests/ctest/unrrdu/unulist.c
Modified: teem/trunk/tests/ctest/unrrdu/unulist.c
===================================================================
--- teem/trunk/tests/ctest/unrrdu/unulist.c 2025-09-30 21:11:13 UTC (rev 7553)
+++ teem/trunk/tests/ctest/unrrdu/unulist.c 2025-09-30 23:23:25 UTC (rev 7554)
@@ -52,10 +52,12 @@
fprintf(out, "%s: ################### END unu\n", me);
uci = 0;
+ hparm->respectDashDashHelp = AIR_TRUE;
+ const char *hargv[2] = {"--help", NULL};
do {
fprintf(out, "%s: ################### BEGIN (%u) unu %s\n", me, uci,
unrrduCmdList[uci]->name);
- ret = unrrduCmdList[uci]->main(0, NULL, unrrduCmdList[uci]->name, hparm);
+ ret = unrrduCmdList[uci]->main(1, hargv, unrrduCmdList[uci]->name, hparm);
fprintf(out, "%s: ################### END (%u) unu %s (ret=%d)\n", me, uci,
unrrduCmdList[uci]->name, ret);
uci++;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|