[Teton] Change cwd command to pwd.
This commit is contained in:
parent
29148c8756
commit
26ab661dbf
|
@ -25,8 +25,8 @@ void Terminal::ExecuteCommand(const glcr::String& command) {
|
||||||
}
|
}
|
||||||
glcr::StringView cmd = tokens[0];
|
glcr::StringView cmd = tokens[0];
|
||||||
if (cmd == "help") {
|
if (cmd == "help") {
|
||||||
console_.WriteString("Available Commands: cwd cd ls\n");
|
console_.WriteString("Available Commands: pwd cd ls\n");
|
||||||
} else if (cmd == "cwd") {
|
} else if (cmd == "pwd") {
|
||||||
console_.WriteString(cwd_);
|
console_.WriteString(cwd_);
|
||||||
console_.WriteChar('\n');
|
console_.WriteChar('\n');
|
||||||
} else if (cmd == "cd") {
|
} else if (cmd == "cd") {
|
||||||
|
|
Loading…
Reference in New Issue