IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 23, 2006, 5:31:41 PM (20 years ago)
Author:
eugene
Message:

cleanup of timeouts and thread-safety issues, controller comms

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/server.c

    r7952 r8548  
    2727int server (int argc, char **argv) {
    2828
    29   int status;
     29  int i, N, status;
    3030  CommandF *func;
    3131
     
    3333    gprint (GP_ERR, "USAGE: server (command) ... \n");
    3434    return (FALSE);
     35  }
     36
     37  if (!strcasecmp (argv[1], "help")) {
     38    N = sizeof (server_cmds) / sizeof (Command);
     39
     40    for (i = 0; i < N; i++) {
     41      gprint (GP_LOG, "%-15s %s\n", server_cmds[i].name, server_cmds[i].help);
     42    }
     43    return (TRUE);
    3544  }
    3645
Note: See TracChangeset for help on using the changeset viewer.