IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 11, 2008, 3:34:27 PM (18 years ago)
Author:
eugene
Message:

adding controller verbose, fix jobstack crash; start virtual job list

File:
1 edited

Legend:

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

    r7917 r18085  
    33int controller_output (int argc, char **argv) {
    44
    5   if (argc != 1) {
    6     gprint (GP_ERR, "USAGE: controller status\n");
     5  if ((argc != 1) || ((argc == 2) && (strcmp(argv[1], "flush")))) {
     6    gprint (GP_ERR, "USAGE: controller output\n");
    77    return (FALSE);
    88  }
     
    1010  CheckControllerOutput ();
    1111  PrintControllerOutput ();
     12
     13  if (argc == 2) {
     14    FlushControllerOutput ();
     15  }
     16
    1217  return (TRUE);
    1318}
Note: See TracChangeset for help on using the changeset viewer.