diff --git a/help/DEBUG b/help/DEBUG index d601f1d..9829ba4 100644 --- a/help/DEBUG +++ b/help/DEBUG @@ -1,4 +1,9 @@ -Write debug information to a file named "debug.". + +On - Turn On debug and write output to +Off - Turn Off debug + +If no arguments are given, debug data will be written +to a file named "debug.". Only available if compiled with debug support. diff --git a/src/usage.h b/src/usage.h index 95c1b14..b173978 100644 --- a/src/usage.h +++ b/src/usage.h @@ -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 |Off]" }, #endif /* DEBUG */ { C_DEOP, "[channel] " }, { C_DIE, "[reason]" },