Skip to content

Commit 3ce8a7a

Browse files
committed
Update Help.cs
1 parent bbb59af commit 3ce8a7a

File tree

1 file changed

+3
-2
lines changed
  • src/BrowserAutomationMaster/Messaging

1 file changed

+3
-2
lines changed

src/BrowserAutomationMaster/Messaging/Help.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using Spectre.Console;
1+
using BrowserAutomationMaster.Managers;
2+
using Spectre.Console;
23
using static BrowserAutomationMaster.Managers.CommandManager;
34

45
namespace BrowserAutomationMaster.Messaging
@@ -30,7 +31,7 @@ public static void ShowCommandDetails(string command)
3031
var examples = exArray.Length != 0 ? string.Join("\n", exArray) : "Not Found";
3132
Success.WriteSuccessMessage(
3233
$"\nCommand: {command}\n" +
33-
$"\nType: {command}" +
34+
$"\nType: {CommandManager.GetType(command)}" +
3435
$"\n\nDescription:\n{GetDescription(command)}" +
3536
$"\n\nExamples:\n{Markup.Escape(examples)}\n"
3637
);

0 commit comments

Comments
 (0)