1
0
mirror of https://github.com/fluencelabs/assemblyscript synced 2025-05-11 15:01:57 +00:00

Make asinit understand '--help', fixes

This commit is contained in:
dcode 2019-01-26 12:40:42 +01:00
parent b7c7be1fe9
commit 918a40eb7d

@ -4,7 +4,7 @@ const path = require("path");
const colors = require("../cli/util/colors");
const version = require("../package.json").version;
if (process.argv.length < 3) printHelp();
if (process.argv.length != 3 || process.argv[2] == "--help" || process.argv[2] == "-h") printHelp();
function printHelp() {
console.log([