uint32_t pnn;
int machinereadable;
int maxruntime;
+ int printdatasize;
+ int printrecordflags;
+ int printlmaster;
+ int printhash;
+ int printemptyrecords;
} options;
#define TIMELIMIT() timeval_current_ofs(options.timelimit, 0)
{ "node", 'n', POPT_ARG_STRING, &nodestring, 0, "node", "integer|all" },
{ "machinereadable", 'Y', POPT_ARG_NONE, &options.machinereadable, 0, "enable machinereadable output", NULL },
{ "maxruntime", 'T', POPT_ARG_INT, &options.maxruntime, 0, "die if runtime exceeds this limit (in seconds)", "integer" },
+ { "print-datasize", 0, POPT_ARG_NONE, &options.printdatasize, 0, "do not print record data in catdb, only data size", NULL },
+ { "print-recordflags", 0, POPT_ARG_NONE, &options.printrecordflags, 0, "print the record flags in catdb", NULL },
+ { "print-lmaster", 0, POPT_ARG_NONE, &options.printlmaster, 0, "print the record's lmaster in catdb", NULL },
+ { "print-hash", 0, POPT_ARG_NONE, &options.printhash, 0, "print the record's hash in catdb", NULL },
+ { "print-recordflags", 0, POPT_ARG_NONE, &options.printrecordflags, 0, "print the records flags in catdb", NULL },
+ { "print-emptyrecords", 0, POPT_ARG_NONE, &options.printemptyrecords, 0, "also print the empty records in catdb", NULL },
POPT_TABLEEND
};
int opt;