#define $($)#$ //stringifier
#define MAXSTR 255
#define MAXERR "-%c allows at most " $(MAXSTR) " input characters\n", opt
+#define OPTS "d:o:h-"
#define USAGE "Usage %s [-d dir_root][-o output_file][-h]\n", argv[0]
#define USAGE_LONG \
"\tOptions:\n" \
{ int opt;
getopt:
- switch (opt = getopt(argc, argv, "d:o:h-"))
+ switch (opt = getopt(argc, argv, OPTS))
{ case DONE:
break;
case 'd' :