X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=4398ad0e0ee78c2d3414b7ca5824d124dada87df;hp=fd3d191fa770f3f4bd83a9dfeeaf42e445642e75;hb=338946f4597bd0f4bc2510a4fef1527f2d526c23;hpb=e4ebc9b0ae5de07d53d8b0ecf594244e1bc44d0a diff --git a/init.h b/init.h index fd3d191..4398ad0 100644 --- a/init.h +++ b/init.h @@ -18,6 +18,7 @@ #endif #include "buffy.h" +#include "lib/debug.h" #ifndef _MAKEDOC #define DT_MASK 0x0f @@ -514,6 +515,24 @@ struct option_t MuttVars[] = { ** rest of the string are expanded in the \fIC\fP locale (that is in US ** English). */ +#ifdef DEBUG + {"debug_level", DT_NUM, R_NONE, UL &DebugLevel, "0" }, + /* + ** .pp + ** Availability: debug + ** + ** .pp + ** This variable specifies the current debug level and + ** may be used to increase or decrease the verbosity level + ** during runtime. It overrides the level given with the + ** \fT-d\fP command line option. + ** + ** .pp + ** Currently, this number must be >= 0 and <= 5 and muttng + ** must be started with \fT-d\fP to enable debugging at all; + ** enabling at runtime is not possible. + */ +#endif {"default_hook", DT_STR, R_NONE, UL &DefaultHook, "~f %s !~P | (~P ~C %s)"}, /* ** .pp