From f001272b2dda6469e0c25417b37e5b8f2a04ed2c Mon Sep 17 00:00:00 2001 From: Harrison Deng Date: Sun, 9 Dec 2018 01:23:18 -0600 Subject: [PATCH] cleaned output. --- RecrownedAthenaeum.ConsoleTools/CommandProcessor/HelpCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecrownedAthenaeum.ConsoleTools/CommandProcessor/HelpCommand.cs b/RecrownedAthenaeum.ConsoleTools/CommandProcessor/HelpCommand.cs index 74e11f0..622f6c5 100644 --- a/RecrownedAthenaeum.ConsoleTools/CommandProcessor/HelpCommand.cs +++ b/RecrownedAthenaeum.ConsoleTools/CommandProcessor/HelpCommand.cs @@ -25,7 +25,7 @@ namespace RecrownedAthenaeum.Tools.CommandProcessor { if (commandEngine.ContainsCommand(arguments[0])) { - ConsoleUtilities.WriteWrappedLine(commandEngine.GetCommand(arguments[0]).Help(null)); + if (arguments.Length < 2) ConsoleUtilities.WriteWrappedLine(commandEngine.GetCommand(arguments[0]).Help(null)); for (int i = 1; i < arguments.Length; i++) { ConsoleUtilities.WriteWrappedLine(commandEngine.GetCommand(arguments[0]).Help(arguments[i]));