[Teton] Add a help command.
This commit is contained in:
parent
57947fb5dd
commit
7d7cb8024c
|
@ -14,7 +14,9 @@ void Terminal::HandleCharacter(char c) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Terminal::ExecuteCommand(const glcr::String& command) {
|
void Terminal::ExecuteCommand(const glcr::String& command) {
|
||||||
if (command == "cwd") {
|
if (command == "help") {
|
||||||
|
console_.WriteString("Available Commands: cwd\n");
|
||||||
|
} else if (command == "cwd") {
|
||||||
console_.WriteString(cwd_);
|
console_.WriteString(cwd_);
|
||||||
console_.WriteChar('\n');
|
console_.WriteChar('\n');
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue