| 8  */ | 8  */ | 
| 9 | 9 | 
| 10 #include <string.h> | 10 #include <string.h> | 
| 11 #include <stdlib.h> | 11 #include <stdlib.h> | 
| 12 | 12 | 
| 13 #include <libtu/util.h> | 13 #include "util.h" | 
| 14 #include <libtu/misc.h> | 14 #include "misc.h" | 
| 15 #include <libtu/optparser.h> | 15 #include "optparser.h" | 
| 16 #include <libtu/output.h> | 16 #include "output.h" | 
| 17 | 17 | 
| 18 | 18 | 
| 19 #define O_ARGS(o)       (o->flags&OPT_OPT_ARG) | 19 #define O_ARGS(o)       (o->flags&OPT_OPT_ARG) | 
| 20 #define O_ARG(o)        (o->flasg&OPT_ARG) | 20 #define O_ARG(o)        (o->flasg&OPT_ARG) | 
| 21 #define O_OPT_ARG(o)    (O_ARGS(o)==OPT_OPT_ARG) | 21 #define O_OPT_ARG(o)    (O_ARGS(o)==OPT_OPT_ARG) |