Diff for /libaitcli/example/test.c between versions 1.3 and 1.3.14.1

version 1.3, 2011/03/16 17:24:03 version 1.3.14.1, 2013/10/08 08:30:33
Line 55  cliCommands_t commands[] = { Line 55  cliCommands_t commands[] = {
   
 // ---------------------------------------  // ---------------------------------------
   
int main()int
 main(int argc, char **argv)
 {  {
         int ret;          int ret;
         linebuffer_t *t;          linebuffer_t *t;
   
 //      ret = cliExec(commands, "test>");  //      ret = cliExec(commands, "test>");
        t = cliInit(0, 1, "test>");        t = cliInit(0, 1, argv[1]);
         ret = cliLoop(t, NULL);          ret = cliLoop(t, NULL);
         cliEnd(t);          cliEnd(t);
   

Removed from v.1.3  
changed lines
  Added in v.1.3.14.1


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