PageRenderTime 8ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/contrib/ntp/include/debug-opt.def

https://bitbucket.org/freebsd/freebsd-head/
Module-Definition | 34 lines | 31 code | 3 blank | 0 comment | 0 complexity | cecf13dd7365f4dfa2d51d85811c7d48 MD5 | raw file
 1
 2include        = <<- _EOF_
 3	#ifdef __windows
 4	  extern int atoi(const char*);
 5	#else
 6	# include <stdlib.h>
 7	#endif
 8	_EOF_;
 9
10flag = {
11    name      = debug-level;
12    value     = d;
13    max       = NOLIMIT;
14    ifdef     = DEBUG;
15    nopreset;
16    descrip   = "Increase output debug message level";
17    doc = <<-  _EndOfDoc_
18	Increase the debugging message output level.
19	_EndOfDoc_;
20};
21
22flag = {
23    name      = set-debug-level;
24    value     = D;
25    max       = NOLIMIT;
26    ifdef     = DEBUG;
27    descrip   = "Set the output debug message level";
28    arg-type  = string;
29    flag-code = 'DESC(DEBUG_LEVEL).optOccCt = atoi( pOptDesc->pzLastArg );';
30    doc = <<-  _EndOfDoc_
31	Set the output debugging level.  Can be supplied multiple times,
32	but each overrides the previous value(s).
33	_EndOfDoc_;
34};