IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38551


Ignore:
Timestamp:
Jun 25, 2015, 10:03:27 PM (11 years ago)
Author:
eugene
Message:

add some verbosity to the usage message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20150616/Ohana/src/opihi/cmd.data/read_vectors.c

    r38441 r38551  
    7777  if ((argc < 3) || !(argc % 2)) {
    7878    gprint (GP_ERR, "USAGE: read name N name N ...\n");
     79    gprint (GP_ERR, "  options:\n");
     80    gprint (GP_ERR, "     -fits EXTNAME : read a fits file from the given extension (vector names are column names)\n");
     81    gprint (GP_ERR, "     -v : verbose mode\n");
     82    gprint (GP_ERR, "     -csv : comma-separated values (columns may be identified in excel-style: A, AC\n");
     83    gprint (GP_ERR, "     -skip N : skip N lines before reading\n");
     84    gprint (GP_ERR, "     column names may include a type: name:type\n");
     85    gprint (GP_ERR, "       type is int, float, char, time\n");
     86    gprint (GP_ERR, "       for char, values are placed into a list $name:0 - $name:n\n");
     87    gprint (GP_ERR, "       for time, values are human-readable date/time strings YYYY/MM/DD,hh:mm:ss\n");
     88    gprint (GP_ERR, "       the resulting vector is a float based on the TIMEFORMAT, TIMEREF values\n");
    7989    return (FALSE);
    8090  }
Note: See TracChangeset for help on using the changeset viewer.