Added handling of "-h" parameter

This commit is contained in:
Fabian Furger 2015-05-03 20:11:56 +01:00
parent c941e03f6b
commit 6aec0c9e09

View file

@ -28,6 +28,7 @@ switch (process.argv[2]) {
}); });
break; break;
case "--help": case "--help":
case "-h":
console.log(Fs.readFileSync(__dirname + "/docs/help", "utf-8")); console.log(Fs.readFileSync(__dirname + "/docs/help", "utf-8"));
break; break;
case "-v": case "-v":