summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'args.go')
-rw-r--r--args.go26
1 files changed, 0 insertions, 26 deletions
diff --git a/args.go b/args.go
deleted file mode 100644
index 0963462..0000000
--- a/args.go
+++ /dev/null
@@ -1,26 +0,0 @@
-package main
-
-/*
- this parses the command line arguements
-
- this enables command line options from other packages like 'gui' and 'log'
-*/
-
-import (
- "go.wit.com/dev/alexflint/arg"
-)
-
-var argv args
-
-type args struct {
- ListRepos bool `arg:"--list-repos" help:"list all repositories"`
- Port int `arg:"--port" default:"2520" help:"port to run on"`
-}
-
-func (args) Version() string {
- return "gowebd " + VERSION
-}
-
-func init() {
- arg.MustParse(&argv)
-}