diff options
Diffstat (limited to 'cmds/plugin-consoleonly/args.go')
| -rw-r--r-- | cmds/plugin-consoleonly/args.go | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/cmds/plugin-consoleonly/args.go b/cmds/plugin-consoleonly/args.go deleted file mode 100644 index dc4a322..0000000 --- a/cmds/plugin-consoleonly/args.go +++ /dev/null @@ -1,31 +0,0 @@ -// This creates a simple hello world window -package main - -import ( - "log" - "git.wit.org/wit/gui" - arg "github.com/alexflint/go-arg" -) - -type LogOptions struct { - LogFile string - Verbose bool - User string `arg:"env:USER"` -} - -var args struct { - LogOptions - gui.GuiArgs -} - -func init() { - arg.MustParse(&args) - log.Println("Toolkit = ", args.Toolkit) - - if (args.GuiDebug) { - gui.DebugWindow() - } - if (args.GuiVerbose) { - gui.SetDebug(true) - } -} |
