add alias for exit cmd
This commit is contained in:
parent
ccb77051f8
commit
6098d3cca6
|
@ -41,7 +41,7 @@ class Console {
|
|||
];
|
||||
|
||||
return text.join('\n');
|
||||
} else if (cmd === 'quit') {
|
||||
} else if (['quit', 'exit', 'sair', 'sortir'].indexOf(cmd) >= 0) {
|
||||
utils.exit();
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue