--- libaitcli/example/test.c 2013/11/22 15:17:22 1.6 +++ libaitcli/example/test.c 2024/03/19 09:58:25 1.6.18.1 @@ -79,7 +79,7 @@ main(int argc, char **argv) t = cliInit(0, 1, argv[1]); cli_addCommand(t, "oho", 1, oho, "oho [args]", "oho - is test level 0"); cli_addCommand(t, "boho", 2, boho, "boho [args]", "boho - is test level 1"); - ret = cliLoop(t, NULL, 10); + ret = cliLoop(t, NULL, -1); cliEnd(t); return 0;