| name | Name of table |
| starttime | Starttime from record key |
| starttimemu | Fractional part of starttime in micro seconds |
| endtime | Endtime from record key |
| endtimemu | Fractional part of endtime in micro seconds |
| flag_first | TRUE for every first slow table of a certain type |
| status | Status that defines a condition for table name. |
| name | Name of this switch, by convention this should begin with a minussign ("-") |
| buffer | Pointer to option value. If a commandline switch was found while parsing of the commandline, the variable pointed to by buffer will be changed depending of the type of the switch. For boolean switches (valname==NULL) buffer must point to an integer that is incremented for each occurrence of the switch. For switches augmented by a value, buffer must point to a character pointer that will be set to point to the switches value. |
| valname | If the switch requires an additional value, the name of this value (used by ha_usage()) is specified by valname. If the switch is boolean, this argument should be NULL. |
| help | Short help string that will be printed by ha_usage(). |
Hanna defines some switches that it uses itself. Here is the default usage output:
Usage : hannah [option [value]] [--] [file [...]] Options: --help - Help. --nokey - Don't use key table info --DST - Read DST format --tmp dname - Temporary directory (default: "./"). --slow fname - Slow control file (default: None). --sdriver dspec - Driver to read slow data (default: FZ,filfor=EXCH). --soffset offset - Time offset for slow control data (default: 0.0). --stime method - Select event time (AUTO,VME,UNIX,EFF) for synchronisation (default: AUTO). --events fname - Only process events listed in file 'fname'. --driver dspec - Set input driver (default: FZ,filfor=EXCH). --flist fname - Read file list from file. file [...] - file(s) containing run data
| RFIL | Dad file (as used for microDST's) |
| RPIP | Dad UNIX pipe |
| RMEM | Dad shared memory pipe |
| MRFIL | Dad multifile (as used for slow control data) |
| all other | Will be passed to ADAMO's OPENGAF() routine |