summaryrefslogtreecommitdiff
path: root/sntp/include/debug-opt.def
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/include/debug-opt.def')
-rw-r--r--sntp/include/debug-opt.def29
1 files changed, 29 insertions, 0 deletions
diff --git a/sntp/include/debug-opt.def b/sntp/include/debug-opt.def
new file mode 100644
index 0000000..516163d
--- /dev/null
+++ b/sntp/include/debug-opt.def
@@ -0,0 +1,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_;
+};