From 7839a596a39100b4fe059a0ba2214a1c1c8c9429 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sun, 26 Apr 2015 21:50:02 +0200 Subject: [PATCH] modules: make help more compact Same as c7b2aea7dac329f0b00d2508e234a8a708e146c3 but for modules --- src/Modules.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Modules.cpp b/src/Modules.cpp index 8891eccc..930b3f4a 100644 --- a/src/Modules.cpp +++ b/src/Modules.cpp @@ -1348,13 +1348,11 @@ CModCommand& CModCommand::operator=(const CModCommand& other) void CModCommand::InitHelp(CTable& Table) { Table.AddColumn("Command"); - Table.AddColumn("Arguments"); Table.AddColumn("Description"); } void CModCommand::AddHelp(CTable& Table) const { Table.AddRow(); - Table.SetCell("Command", GetCommand()); - Table.SetCell("Arguments", GetArgs()); + Table.SetCell("Command", GetCommand() + " " + GetArgs()); Table.SetCell("Description", GetDescription()); }