mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
-v option not enabling verbose mode properly
This commit is contained in:
parent
f699516fdb
commit
48ad614441
4
red.js
4
red.js
@ -44,6 +44,8 @@ var shortHands = {
|
|||||||
"?":["--help"],
|
"?":["--help"],
|
||||||
"p":["--port"],
|
"p":["--port"],
|
||||||
"s":["--settings"],
|
"s":["--settings"],
|
||||||
|
// As we want to reserve -t for now, adding a shorthand to help so it
|
||||||
|
// doesn't get treated as --title
|
||||||
"t":["--help"],
|
"t":["--help"],
|
||||||
"u":["--userDir"],
|
"u":["--userDir"],
|
||||||
"v":["--verbose"]
|
"v":["--verbose"]
|
||||||
@ -121,7 +123,7 @@ try {
|
|||||||
process.exit();
|
process.exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (parsedArgs.v) {
|
if (parsedArgs.verbose) {
|
||||||
settings.verbose = true;
|
settings.verbose = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user