summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go18
1 files changed, 0 insertions, 18 deletions
diff --git a/argv.go b/argv.go
index 6ec3a72..59ad7ff 100644
--- a/argv.go
+++ b/argv.go
@@ -1,12 +1,5 @@
package main
-import (
- "os"
-
- "go.wit.com/dev/alexflint/arg"
- "go.wit.com/gui"
-)
-
/*
this parses the command line arguements
this enables command line options from other packages like 'gui' and 'log'
@@ -24,17 +17,6 @@ This basicwindow example demonstrates multiple windows
`
}
-func init() {
- gui.InitArg()
- pp := arg.MustParse(&argv)
-
- // for very new users or users unfamilar with the command line, this may help them
- if argv.Demo == "version" || argv.Demo == "help" || argv.Demo == "?" {
- pp.WriteHelp(os.Stdout)
- os.Exit(0)
- }
-}
-
func (args) Version() string {
return "basicwindow " + VERSION
}