IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 19, 2022, 8:43:03 AM (4 years ago)
Author:
eugene
Message:

add some usage info

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.data/write_vectors.c

    r41341 r42127  
    102102  if (argc < 3) {
    103103    gprint (GP_ERR, "USAGE: write [options] file vector vector ...\n");
    104     gprint (GP_ERR, "OPTIONS: [-header] [-append] [-f \"format\"] [-fits NAME] [-csv] [-h,--help]\n");
     104    gprint (GP_ERR, "OPTIONS: [-header [buf]] [-append] [-f \"format\"] [-fits NAME] [-csv] [-h,--help]\n");
    105105    return (FALSE);
    106106  }
     
    289289 usage:
    290290    gprint (GP_ERR, "USAGE: write [options] file vector vector ...\n");
    291     gprint (GP_ERR, "OPTIONS: [-header] [-append] [-f \"format\"] [-fits NAME] [-csv] [-h,--help]\n\n");
     291    gprint (GP_ERR, "OPTIONS: [-header [buf]] [-append] [-f \"format\"] [-fits NAME] [-csv] [-h,--help]\n\n");
    292292
    293293    gprint (GP_ERR, "OPTIONS: \n");
    294     gprint (GP_ERR, "  -header : add a descriptive header line to ascii or csv output\n");
     294    gprint (GP_ERR, "  -header : add a descriptive header line to ascii or csv output (see below for FITS)\n");
    295295    gprint (GP_ERR, "  -append : write to the end of the existing file\n");
    296296    gprint (GP_ERR, "  -fits NAME : write a fits table (extention name is NAME, column names match vector names)\n");
Note: See TracChangeset for help on using the changeset viewer.