freebsd-dev/contrib/ntp/include/debug-opt.def
Ollivier Robert ea906c4152 Merge ntpd & friends 4.2.4p5 from vendor/ntp/dist into head. Next commit
will update usr.sbin/ntp to match this.

MFC after:	2 weeks
2008-08-22 15:58:00 +00:00

35 lines
803 B
Modula-2

include = <<- _EOF_
#ifdef __windows
extern int atoi(const char*);
#else
# include <stdlib.h>
#endif
_EOF_;
flag = {
name = debug-level;
value = d;
max = NOLIMIT;
ifdef = DEBUG;
nopreset;
descrip = "Increase output debug message level";
doc = <<- _EndOfDoc_
Increase the debugging message output level.
_EndOfDoc_;
};
flag = {
name = set-debug-level;
value = D;
max = NOLIMIT;
ifdef = DEBUG;
descrip = "Set the output debug message level";
arg-type = string;
flag-code = 'DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );';
doc = <<- _EndOfDoc_
Set the output debugging level. Can be supplied multiple times,
but each overrides the previous value(s).
_EndOfDoc_;
};