From 094f8d72574c0828c5497591c042dca5b61d2477 Mon Sep 17 00:00:00 2001 From: myk002 Date: Mon, 25 Jul 2022 16:57:08 -0700 Subject: [PATCH] fix typos in forceequip cpp/docs --- docs/plugins/forceequip.rst | 4 ++-- plugins/forceequip.cpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/plugins/forceequip.rst b/docs/plugins/forceequip.rst index 2b8a55905..217085fe4 100644 --- a/docs/plugins/forceequip.rst +++ b/docs/plugins/forceequip.rst @@ -42,8 +42,8 @@ Items equipped by this plugin DO NOT become owned by the recipient. Adult dwarves are free to adjust their own wardrobe, and may promptly decide to doff your gear in favour of their owned items. Animals, as described above, will tend to discard ALL clothing immediately unless it is manually forbidden. Armor items -seem to be an exception: an animal will tend to retain an equipped suit of mail" - even if you neglect to forbid it. +seem to be an exception: an animal will tend to retain an equipped suit of mail +even if you neglect to forbid it. Please note that armored animals are quite vulnerable to ranged attacks. Unlike dwarves, animals cannot block, dodge, or deflect arrows, and they are slowed by diff --git a/plugins/forceequip.cpp b/plugins/forceequip.cpp index 10a157608..2ee4e47a7 100644 --- a/plugins/forceequip.cpp +++ b/plugins/forceequip.cpp @@ -280,8 +280,7 @@ command_result df_forceequip(color_ostream &out, vector & parameters) if (p == "help" || p == "?" || p == "h" || p == "/?" || p == "info" || p == "man") { - out << forceequip_help << endl; - return CR_OK; + return CR_WRONG_USAGE; } else if (p == "here" || p == "h") {