From cf72b65769809ac77331414aee299112b9bf4b37 Mon Sep 17 00:00:00 2001 From: Trey <32907415+TheEdgeNK@users.noreply.github.com> Date: Sun, 2 Sep 2018 11:56:23 -0400 Subject: WE FIXED THE STORYLINE!!! --- PortEngine/PortsTerminalAPI.cs | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'PortEngine/PortsTerminalAPI.cs') diff --git a/PortEngine/PortsTerminalAPI.cs b/PortEngine/PortsTerminalAPI.cs index b41bd2c..ba59409 100644 --- a/PortEngine/PortsTerminalAPI.cs +++ b/PortEngine/PortsTerminalAPI.cs @@ -28,30 +28,17 @@ namespace PortEngine switch (pendingCommand) { case "help": - Console.WriteLine("help - lists the commands\r\ntest - displays a test message\r\nclear - clears the terminal\r\nchangeusername - changes your username for use with the Chatter application\r\n example: changeusername --TheBestUser" + Environment.NewLine); - + Console.WriteLine("help - lists the commands\r\ntest - displays a test message\r\nclear - clears the terminal" + Environment.NewLine); break; case "clear": Console.Clear(); LastCommandWasClear = true; - break; case "test": Console.WriteLine("This is a test!\r\nof the EBS!" + Environment.NewLine); - - break; - + break; default: - if (pendingCommand.StartsWith("changeusername --")) - { - Console.WriteLine("Changed username."); - Properties.Settings.Default.userDisplayName = pendingCommand.Substring(17); - break; - } - else - { Console.WriteLine("Syntax error. Reference the command list for commands that exist." + Environment.NewLine); - } break; } -- cgit v1.2.3