mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 06:34:21 +00:00
Expand home shorthand in CLI help around THELOUNGE_HOME
environment variable
This commit is contained in:
parent
0482747781
commit
52d5cb2311
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
const colors = require("colors/safe");
|
||||
const fs = require("fs");
|
||||
const Helper = require("../helper");
|
||||
const path = require("path");
|
||||
|
||||
let home;
|
||||
|
@ -13,7 +14,7 @@ class Utils {
|
|||
"",
|
||||
" Environment variable:",
|
||||
"",
|
||||
` THELOUNGE_HOME Path for all configuration files and folders. Defaults to ${colors.green(Utils.defaultHome())}.`,
|
||||
` THELOUNGE_HOME Path for all configuration files and folders. Defaults to ${colors.green(Helper.expandHome(Utils.defaultHome()))}.`,
|
||||
"",
|
||||
].forEach((e) => console.log(e)); // eslint-disable-line no-console
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue