diff options
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 5 | 
1 files changed, 5 insertions, 0 deletions
@@ -17,6 +17,7 @@ var argDebugger ArgsDebugger  // This struct can be used with the go-arg package  type ArgsDebugger struct {  	Debugger bool `arg:"--debugger" help:"open the debugger window"` +	Logger bool `arg:"--logger" help:"open the log.* control window"`  }  // returns true if --gui-debug was passed from the command line @@ -24,6 +25,10 @@ func ArgDebug() bool {  	return argDebugger.Debugger  } +func ArgLogger() bool { +	return argDebugger.Logger +} +  func init() {  	arg.Register(&argDebugger)  | 
