Changeset 13203


Ignore:
Timestamp:
03/23/12 13:48:12 (13 years ago)
Author:
tbretz
Message:
Updated the options.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fitsdump.cc

    r13202 r13203  
    908908         ->required()
    909909#endif
    910                                                   , "Name of FITS file")
    911         ("col,c",       vars<string>(),             "List of columns to dump\narg is a list of columns, separated by a space.\nAdditionnally, a list of sub-columns can be added\ne.g. Data[3] will dump sub-column 3 of column Data\nData[3:4] will dump sub-columns 3 and 4\nOmitting this argument dump the entire column\nnota: all indices start at zero")
    912         ("outfile,o",   var<string>("/dev/stdout"), "Name of output file (-:/dev/stdout)")
    913         ("precision,p", var<int>(20),               "Precision of ofstream")
    914         ("list,l",      po_switch(),                "List all tables and columns in file")
    915         ("header,h",    po_switch(),                "Dump header of given table")
    916         ("stat,s",      po_switch(),                "Perform statistics instead of dump")
    917         ("minmax,m",    po_switch(),                "Calculates min and max of data")
    918         ("nozero,z",    po_switch(),                "skip 0 values for stats")
    919         ("force",       po_switch(),                "Force reading the fits file even if END key is missing")
    920         ("first",       var<size_t>(size_t(0)),     "First number of row to read")
    921         ("limit",       var<size_t>(size_t(0)),     "Limit for the maximum number of rows to read (0=unlimited)")
    922 #ifdef HAVE_ROOT
    923         ("root,r",      po_switch(),                "Enable root mode")
    924         ("filter,r",    var<string>(""),            "Filter to restrict the selection of events (e.g. '[0]>10 && [0]<20';  does not work with stat and minmax yet)")
     910                                              , "Name of FITS file")
     911        ("col,c",       vars<string>(),         "List of columns to dump\narg is a list of columns, separated by a space.\nAdditionnally, a list of sub-columns can be added\ne.g. Data[3] will dump sub-column 3 of column Data\nData[3:4] will dump sub-columns 3 and 4\nOmitting this argument dump the entire column\nnota: all indices start at zero")
     912        ("outfile,o",   var<string>("-"),      "Name of output file (-:/dev/stdout)")
     913        ("precision,p", var<int>(20),           "Precision of ofstream")
     914        ("list,l",      po_switch(),            "List all tables and columns in file")
     915        ("header,h",    po_switch(),            "Dump header of given table")
     916        ("stat,s",      po_switch(),            "Perform statistics instead of dump")
     917        ("minmax,m",    po_switch(),            "Calculates min and max of data")
     918        ("nozero,z",    po_switch(),            "skip 0 values for stats")
     919        ("force",       po_switch(),            "Force reading the fits file even if END key is missing")
     920        ("first",       var<size_t>(size_t(0)), "First number of row to read")
     921        ("limit",       var<size_t>(size_t(0)), "Limit for the maximum number of rows to read (0=unlimited)")
     922#ifdef HAVE_ROOT
     923        ("root,r",      po_switch(),            "Enable root mode")
     924        ("filter,f",    var<string>(""),        "Filter to restrict the selection of events (e.g. '[0]>10 && [0]<20';  does not work with stat and minmax yet)")
    925925#endif
    926926        ;
Note: See TracChangeset for help on using the changeset viewer.