update docs for hotkeys

develop
myk002 2022-07-25 21:54:34 -07:00
parent b93e3365f6
commit 69d88a62dd
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
2 changed files with 13 additions and 6 deletions

@ -1,8 +1,14 @@
hotkeys hotkeys
======= =======
Opens an in-game screen showing which DFHack keybindings are Tags:
active in the current context. See also `hotkey-notes`. :dfhack-keybind:`hotkeys`
.. image:: ../images/hotkeys.png Show all dfhack keybindings in current context. The command opens an in-game
screen showing which DFHack keybindings are active in the current context.
See also `hotkey-notes`.
:dfhack-keybind:`hotkeys` Usage::
hotkeys
.. image:: ../images/hotkeys.png

@ -356,8 +356,9 @@ DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <Plug
commands.push_back( commands.push_back(
PluginCommand( PluginCommand(
"hotkeys", "Show all dfhack keybindings in current context.", "hotkeys",
hotkeys_cmd, false, "")); "Show all dfhack keybindings in current context.",
hotkeys_cmd));
return CR_OK; return CR_OK;
} }