summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-07 12:49:53 -0600
committerJeff Carr <[email protected]>2024-11-07 12:49:53 -0600
commit305f4d3e4111aba1acdddb43be701a49bf02d803 (patch)
treec536d48ff2b2a042a80072e2ae695eeb563bdef6 /args.go
parente591cdd6857b1d3f2b84d5fa54931758f363300d (diff)
the traditional namev0.22.3
Signed-off-by: Jeff Carr <[email protected]>
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)
-}