add alias for exit cmd

This commit is contained in:
Iuri Matias 2017-12-13 19:31:16 -05:00
parent ccb77051f8
commit 6098d3cca6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Console {
]; ];
return text.join('\n'); return text.join('\n');
} else if (cmd === 'quit') { } else if (['quit', 'exit', 'sair', 'sortir'].indexOf(cmd) >= 0) {
utils.exit(); utils.exit();
} }
return false; return false;