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"],
|
||||
"p":["--port"],
|
||||
"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"],
|
||||
"u":["--userDir"],
|
||||
"v":["--verbose"]
|
||||
@ -121,7 +123,7 @@ try {
|
||||
process.exit();
|
||||
}
|
||||
|
||||
if (parsedArgs.v) {
|
||||
if (parsedArgs.verbose) {
|
||||
settings.verbose = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user