From 69d88a62ddd27c54d1a484808a451ed2153ade99 Mon Sep 17 00:00:00 2001 From: myk002 Date: Mon, 25 Jul 2022 21:54:34 -0700 Subject: [PATCH] update docs for hotkeys --- docs/plugins/hotkeys.rst | 14 ++++++++++---- plugins/hotkeys.cpp | 5 +++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/docs/plugins/hotkeys.rst b/docs/plugins/hotkeys.rst index 57c3b3af5..49064db0a 100644 --- a/docs/plugins/hotkeys.rst +++ b/docs/plugins/hotkeys.rst @@ -1,8 +1,14 @@ hotkeys ======= -Opens an in-game screen showing which DFHack keybindings are -active in the current context. See also `hotkey-notes`. +Tags: +: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 diff --git a/plugins/hotkeys.cpp b/plugins/hotkeys.cpp index a91c62bdf..84ce37eb8 100644 --- a/plugins/hotkeys.cpp +++ b/plugins/hotkeys.cpp @@ -356,8 +356,9 @@ DFhackCExport command_result plugin_init ( color_ostream &out, std::vector