aboutsummaryrefslogtreecommitdiffstats
path: root/sntp/include/debug-opt.def
blob: 516163d6ec0c1c6c49a3466b27334ffafeb9c9ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

include        = <<- _EOF_
	#ifdef __windows
	  extern int atoi(const char*);
	#else
	# include <stdlib.h>
	#endif
	_EOF_;

flag = {
    name      = debug-level;
    value     = d;
    max       = NOLIMIT;
    nopreset;
    flag-code = 'OPT_VALUE_SET_DEBUG_LEVEL++;';
    descrip   = "Increase debug verbosity level";
    doc		= <<-  _EndOfDoc_
	_EndOfDoc_;
};

flag = {
    name      = set-debug-level;
    value     = D;
    max       = NOLIMIT;
    descrip   = "Set the debug verbosity level";
    arg-type  = number;
    doc		= <<-  _EndOfDoc_
	_EndOfDoc_;
};