Check invalid command

This commit is contained in:
Jordi Baylina 2018-10-21 20:29:54 +02:00
parent f4cab2e9ed
commit 60e1ce4c41
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112
1 changed files with 2 additions and 0 deletions

2
cli.js
View File

@ -340,6 +340,8 @@ try {
console.log(S);
process.exit(0);
} else {
throw new Error("Invalid Command");
}
} catch(err) {
console.log("ERROR: " + err);