diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -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 } |
