aboutsummaryrefslogtreecommitdiff
path: root/PortEngine/PortsTerminalAPI.cs
diff options
context:
space:
mode:
authorTrey <32907415+TheEdgeNK@users.noreply.github.com>2018-09-02 11:56:23 -0400
committerTrey <32907415+TheEdgeNK@users.noreply.github.com>2018-09-02 11:56:23 -0400
commitcf72b65769809ac77331414aee299112b9bf4b37 (patch)
tree9fb9fdfe01967db9c95b87cb96b7294b43ff455d /PortEngine/PortsTerminalAPI.cs
parent52376ce623346e257c2b7845d0d2414e7653a6dd (diff)
downloadProject-Silicon-cf72b65769809ac77331414aee299112b9bf4b37.tar.gz
Project-Silicon-cf72b65769809ac77331414aee299112b9bf4b37.tar.bz2
Project-Silicon-cf72b65769809ac77331414aee299112b9bf4b37.zip
WE FIXED THE STORYLINE!!!
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;
}