summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/include/debug-opt.def
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/include/debug-opt.def')
-rw-r--r--contrib/ntp/include/debug-opt.def34
1 files changed, 34 insertions, 0 deletions
diff --git a/contrib/ntp/include/debug-opt.def b/contrib/ntp/include/debug-opt.def
new file mode 100644
index 0000000..2c3da2a
--- /dev/null
+++ b/contrib/ntp/include/debug-opt.def
@@ -0,0 +1,34 @@
+
+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_;
+};
OpenPOWER on IntegriCloud