IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38410


Ignore:
Timestamp:
Jun 6, 2015, 2:25:04 PM (11 years ago)
Author:
eugene
Message:

fix formating problem in the usage block

Location:
branches/eam_branches/ohana.20150429/src/opihi/cmd.data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/opihi/cmd.data/tv.c

    r38062 r38410  
    7171  int tooBig = buf[0].matrix.Naxis[2] ? (plane >= buf[0].matrix.Naxis[2]) : plane > 0;
    7272  if (tooBig) {
    73     gprint (GP_ERR, " ERROR: -plane (plane) : out of bounds (%d vs %d)\n", plane, buf[0].matrix.Naxis[2]);
     73    gprint (GP_ERR, " ERROR: -plane (plane) : out of bounds (%d vs "OFF_T_FMT")\n", plane, buf[0].matrix.Naxis[2]);
    7474    return (FALSE);
    7575  }
  • branches/eam_branches/ohana.20150429/src/opihi/cmd.data/write_vectors.c

    r38340 r38410  
    255255    gprint (GP_ERR, "  -csv : write a comma-separated values file (eg, to read in excel)\n");
    256256    gprint (GP_ERR, "  -f \"format\" : provide formatting codes for output:\n");
    257     gprint (GP_ERR, "    ascii / csv : format consists of c-style format codes in form %NN.Md\n");
     257    gprint (GP_ERR, "    ascii / csv : format consists of c-style format codes in form %%NN.Md\n");
    258258    gprint (GP_ERR, ",     the following codes are allowed\n");
    259     gprint (GP_ERR, "        %e -- double, %f -- float\n");
    260     gprint (GP_ERR, "        %d -- int, %c -- char, %x -- hex int\n");
     259    gprint (GP_ERR, "        %%e -- double, %%f -- float\n");
     260    gprint (GP_ERR, "        %%d -- int, %%c -- char, %%x -- hex int\n");
    261261    gprint (GP_ERR, "    FITS : format consists of the following FITS binary table format codes:\n");
    262262    gprint (GP_ERR, "      B : 1 byte int\n");   
Note: See TracChangeset for help on using the changeset viewer.