version 1.4.2.1, 2013/11/20 16:21:55
|
version 1.5.4.1, 2013/11/22 14:47:45
|
Line 79 main(int argc, char **argv)
|
Line 79 main(int argc, char **argv)
|
t = cliInit(0, 1, argv[1]); |
t = cliInit(0, 1, argv[1]); |
cli_addCommand(t, "oho", 1, oho, "oho [args]", "oho - is test level 0"); |
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"); |
cli_addCommand(t, "boho", 2, boho, "boho [args]", "boho - is test level 1"); |
ret = cliLoop(t, NULL, 30, NULL); | ret = cliLoop(t, NULL, 10); |
cliEnd(t); |
cliEnd(t); |
|
|
return 0; |
return 0; |