rebuild cli

This commit is contained in:
Jordi Baylina 2020-12-31 06:41:42 +01:00
parent cbca922618
commit c104746817
No known key found for this signature in database
GPG Key ID: 7480C80C1BE43112

View File

@ -1267,12 +1267,14 @@ async function clProcessor(commands) {
} else { } else {
if (m.length>0) console.log("Invalid number of parameters"); if (m.length>0) console.log("Invalid number of parameters");
helpCmd(cmd); helpCmd(cmd);
return 99;
} }
return; return;
} }
} }
if (cl.length>0) console.log("Invalid command"); if (cl.length>0) console.log("Invalid command");
helpAll(); helpAll();
return 99;
function calculateMatch(cmd, cl) { function calculateMatch(cmd, cl) {
const alias = []; const alias = [];