settings: better --no-gui parsing since it is not a boolean (can be string, empty string or undefined)
This commit is contained in:
parent
7bc6cb7b3e
commit
8ca5421da7
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ var makeDefaultConfig = function(argv){
|
|||
sessionFile: argv.l || false,
|
||||
customModule: argv.c || false,
|
||||
noGui: argv.n || false,
|
||||
guiOnly: argv.g || false,
|
||||
guiOnly: typeof argv.g == 'string' ? argv.g.length ? argv.g : true : false,
|
||||
appAddresses:function(){
|
||||
var appAddresses = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue