# HG changeset patch # User David Demelier # Date 1455627509 -3600 # Node ID afff3f16d86ea2b837273be991284c84b6933245 # Parent 392778b6d3c9c80fe7f57f431274afde92a8941a Docs: explain better plugin-reload, #421 diff -r 392778b6d3c9 -r afff3f16d86e doc/html/guide/05-irccdctl/03-commands.md --- a/doc/html/guide/05-irccdctl/03-commands.md Tue Feb 16 13:36:46 2016 +0100 +++ b/doc/html/guide/05-irccdctl/03-commands.md Tue Feb 16 13:58:29 2016 +0100 @@ -62,9 +62,7 @@ ### plugin-reload -Reload a plugin, parameter name is the plugin to reload. - -The plugin must be loaded. +Reload a plugin by calling the appropriate onReload event, the plugin is not unloaded and must be already loaded. **Usage** diff -r 392778b6d3c9 -r afff3f16d86e irccdctl/command-plugin-reload.cpp --- a/irccdctl/command-plugin-reload.cpp Tue Feb 16 13:36:46 2016 +0100 +++ b/irccdctl/command-plugin-reload.cpp Tue Feb 16 13:58:29 2016 +0100 @@ -25,8 +25,8 @@ void PluginReload::usage(Irccdctl &) const { log::warning() << "usage: " << sys::programName() << " plugin-reload name\n\n"; - log::warning() << "Reload a plugin, parameter name is the plugin to reload.\n"; - log::warning() << "The plugin must be loaded.\n\n"; + log::warning() << "Reload a plugin by calling the appropriate onReload event, the plugin is not\n"; + log::warning() << "unloaded and must be already loaded.\n\n"; log::warning() << "Example:\n"; log::warning() << "\t" << sys::programName() << " plugin-reload logger" << std::endl; }