Diff for /libaitcli/example/test.c between versions 1.3.14.2 and 1.3.14.3

version 1.3.14.2, 2013/10/08 09:30:55 version 1.3.14.3, 2013/10/08 12:04:05
Line 77  main(int argc, char **argv) Line 77  main(int argc, char **argv)
   
 //      ret = cliExec(commands, "test>");  //      ret = cliExec(commands, "test>");
         t = cliInit(0, 1, argv[1]);          t = cliInit(0, 1, argv[1]);
        cli_addCommand(t, "oho", 0, 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", 1, 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);          ret = cliLoop(t, NULL);
         cliEnd(t);          cliEnd(t);
   

Removed from v.1.3.14.2  
changed lines
  Added in v.1.3.14.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>