mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
turn on and off debug at runtime
This commit is contained in:
@@ -1,4 +1,9 @@
|
|||||||
Write debug information to a file named "debug.<timestamp>".
|
|
||||||
|
On <debugfile> - Turn On debug and write output to <debugfile>
|
||||||
|
Off - Turn Off debug
|
||||||
|
|
||||||
|
If no arguments are given, debug data will be written
|
||||||
|
to a file named "debug.<timestamp>".
|
||||||
|
|
||||||
Only available if compiled with debug support.
|
Only available if compiled with debug support.
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
|
|
||||||
EnergyMech, IRC bot software
|
EnergyMech, IRC bot software
|
||||||
Copyright (c) 2000-2009 proton
|
Copyright (c) 2000-2025 proton
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -59,7 +59,7 @@ LS const UsageList ulist[] =
|
|||||||
#endif /* CTCP */
|
#endif /* CTCP */
|
||||||
{ C_CYCLE, "[channel]" },
|
{ C_CYCLE, "[channel]" },
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
{ C_DEBUG, NULL },
|
{ C_DEBUG, "[On <debugfile>|Off]" },
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
{ C_DEOP, "[channel] <nick|pattern [...]>" },
|
{ C_DEOP, "[channel] <nick|pattern [...]>" },
|
||||||
{ C_DIE, "[reason]" },
|
{ C_DIE, "[reason]" },
|
||||||
|
|||||||
Reference in New Issue
Block a user