diff options
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 21 | 
1 files changed, 4 insertions, 17 deletions
@@ -48,10 +48,6 @@ func colorBanner() {  	if version == "" {  		log.Warn("Warning: compiled without version", err)  	} -	if me.postMustParse != nil { -		log.Info("VERBOSE =", me.postMustParse("VERBOSE")) -		log.Info("FILE =", me.postMustParse("FILE")) -	}  	time.Sleep(3200 * time.Millisecond) // done for effect  } @@ -329,11 +325,6 @@ func New() *Node {  func PreInit(postMustParse func(string) string) *Node {  	initNew() -	/* -		if argGui.GuiVerbose { -			INFO.SetBool(true) -		} -	*/  	me.postMustParse = postMustParse  	return me.rootNode  } @@ -342,14 +333,10 @@ func PreInit(postMustParse func(string) string) *Node {  // try to load andlabs, if that doesn't work, fall back to the console  func (n *Node) Default() (string, error) {  	var err error -	/* -		// used to check if plugins load or not -		if argGui.GuiPluginHack != "" { -			// does os.Exec() and does not return -			TestPluginAndExit() -			os.Exit(0) -		} -	*/ +	argGui.GuiPlugin = me.postMustParse("DEFAULT") +	if me.postMustParse("VERBOSE") == "true" { +		INFO.SetBool(true) +	}  	if argGui.GuiPlugin != "" {  		log.Log(WARN, "New.Default() try toolkit =", argGui.GuiPlugin)  | 
