mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 12:33:07 +00:00
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:
commit
972e1eefa7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue