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.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
|
||||
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
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -59,7 +59,7 @@ LS const UsageList ulist[] =
|
||||
#endif /* CTCP */
|
||||
{ C_CYCLE, "[channel]" },
|
||||
#ifdef DEBUG
|
||||
{ C_DEBUG, NULL },
|
||||
{ C_DEBUG, "[On <debugfile>|Off]" },
|
||||
#endif /* DEBUG */
|
||||
{ C_DEOP, "[channel] <nick|pattern [...]>" },
|
||||
{ C_DIE, "[reason]" },
|
||||
|
||||
Reference in New Issue
Block a user