aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/PortsTerminalAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to 'PortEngine/PortsTerminalAPI.cs')
-rw-r--r--PortEngine/PortsTerminalAPI.cs17
1 files changed, 2 insertions, 15 deletions
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;
}