doc(actions): Point user to doc when using legacy actions

This commit is contained in:
patrick96 2020-11-22 23:18:52 +01:00 committed by Patrick Ziegler
parent 191fb2972c
commit 1afb333858
2 changed files with 7 additions and 6 deletions
src/components

View file

@ -479,6 +479,7 @@ bool controller::try_forward_legacy_action(const string& cmd) {
} else {
m_log.warn("The action '%s' is deprecated, use '#%s.%s.%s' instead!", cmd, module_name, action, data);
}
m_log.warn("Consult the 'Actions' page in the polybar documentation for more information.");
m_log.info(
"Forwarding legacy action '%s' to module '%s' as '%s' with data '%s'", cmd, module_name, action, data);
if (!module->input(action, data)) {