From 8f7a23ee4d1061b20e6eeaf2b133e9cf3b30c2d6 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 31 Jul 2022 13:28:41 -0700 Subject: [PATCH] update docs for showmood --- docs/plugins/showmood.rst | 9 ++++++++- plugins/showmood.cpp | 6 ++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/plugins/showmood.rst b/docs/plugins/showmood.rst index 9276766c4..8afe4c629 100644 --- a/docs/plugins/showmood.rst +++ b/docs/plugins/showmood.rst @@ -1,3 +1,10 @@ showmood ======== -Shows all items needed for the currently active strange mood. +Tags: +:dfhack-keybind:`showmood` + +Shows all items needed for the active strange mood. + +Usage:: + + showmood diff --git a/plugins/showmood.cpp b/plugins/showmood.cpp index c7d620676..abeb2e98e 100644 --- a/plugins/showmood.cpp +++ b/plugins/showmood.cpp @@ -297,8 +297,10 @@ command_result df_showmood (color_ostream &out, vector & parameters) DFhackCExport command_result plugin_init (color_ostream &out, std::vector &commands) { - commands.push_back(PluginCommand("showmood", "Shows items needed for current strange mood.", df_showmood, false, - "Run this command without any parameters to display information on the currently active Strange Mood.")); + commands.push_back(PluginCommand( + "showmood", + "Shows all items needed for active strange mood.", + df_showmood)); return CR_OK; }