diff --git a/docs/plugins/fix-armory.rst b/docs/plugins/fix-armory.rst index f4b988420..dfc5eef7f 100644 --- a/docs/plugins/fix-armory.rst +++ b/docs/plugins/fix-armory.rst @@ -1,4 +1,12 @@ fix-armory ========== -`This plugin requires a binpatch `, which has not -been available since DF 0.34.11 +Tags: +:dfhack-keybind:`fix-armory` + +Allow the military to store equipment in barracks. However, +`this plugin requires a binpatch `, which has not +been available since DF 0.34.11. + +Usage:: + + enable fix-armory diff --git a/plugins/fix-armory.cpp b/plugins/fix-armory.cpp index 0f63b4d93..7dfefff0f 100644 --- a/plugins/fix-armory.cpp +++ b/plugins/fix-armory.cpp @@ -70,12 +70,9 @@ DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_chan DFhackCExport command_result plugin_init (color_ostream &out, std::vector &commands) { commands.push_back(PluginCommand( - "fix-armory", "Enables or disables the fix-armory plugin.", fix_armory, false, - " fix-armory enable\n" - " Enables the tweaks.\n" - " fix-armory disable\n" - " Disables the tweaks. All equipment will be hauled off to stockpiles.\n" - )); + "fix-armory", + "Enables or disables the fix-armory plugin.", + fix_armory)); if (Core::getInstance().isMapLoaded()) plugin_onstatechange(out, SC_MAP_LOADED);