Ignore:
Timestamp:
11/17/03 22:26:16 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/readraw.cc

    r2456 r2521  
    5252    gLog << all << endl;
    5353    gLog << "Sorry the usage is:" << endl;
    54     gLog << "   readraw [-vn] [-dec] [-a0] inputfile[.root]" << endl << endl;
     54    gLog << "   readraw [-h] [-?] [-vn] [-dec] [-a0] inputfile[.root]" << endl << endl;
    5555    gLog << "     input file:   Magic DAQ binary file." << endl;
    5656    gLog << "     -a0: Do not use Ansii codes." << endl;
    5757    gLog << "     -vn: Verbosity level n [default=2]" << endl;
    5858    gLog << "     -d1: print data in decimal values" << endl;
     59    gLog << "     -?/-h: This help" << endl << endl;
    5960}
    6061
     
    7677    //
    7778    MArgs arg(argc, argv);
     79
     80    if (arg.HasOption("-?") || arg.HasOption("-h"))
     81    {
     82        Usage();
     83        return -1;
     84    }
    7885
    7986    //
Note: See TracChangeset for help on using the changeset viewer.