Merge pull request #959 from thelounge/astorije/fix-help-cli

Fix `-h` help option alias shadowed by a similar alias for `--home`
This commit is contained in:
Pavel Djundik 2017-03-13 07:25:53 +02:00 committed by GitHub
commit 972e1eefa7

View file

@ -10,7 +10,7 @@ var path = require("path");
var Helper = require("../helper");
program.version(Helper.getVersion(), "-v, --version")
.option("-h, --home <path>", "path to configuration folder")
.option("--home <path>", "path to configuration folder")
.parseOptions(process.argv);
Helper.setHome(program.home || process.env.LOUNGE_HOME);