summaryrefslogtreecommitdiff
path: root/digitalocean/args.go
diff options
context:
space:
mode:
Diffstat (limited to 'digitalocean/args.go')
-rw-r--r--digitalocean/args.go27
1 files changed, 0 insertions, 27 deletions
diff --git a/digitalocean/args.go b/digitalocean/args.go
deleted file mode 100644
index 246f72d..0000000
--- a/digitalocean/args.go
+++ /dev/null
@@ -1,27 +0,0 @@
-package digitalocean
-
-// initializes logging and command line options
-
-import (
- arg "github.com/alexflint/go-arg"
- log "go.wit.com/log"
-)
-
-var INFO log.LogFlag
-var argDo ArgsDo
-
-// This struct can be used with the go-arg package
-type ArgsDo struct {
- DigitalOceanTimer bool `arg:"--digitalocean-poll-interval" help:"how often to poll droplet status (default 60 seconds)"`
-}
-
-func init() {
- arg.Register(&argDo)
-
- INFO.B = false
- INFO.Name = "INFO"
- INFO.Subsystem = "digitalocean"
- INFO.Desc = "Enable log.Info()"
-
- INFO.Register()
-}