Use spf13 pflag.

This commit is contained in:
David Newhall II 2019-05-30 02:17:13 -07:00
parent a26d924b78
commit b4484aeabe
4 changed files with 11 additions and 15 deletions

View File

@ -1,6 +1,6 @@
/up.conf
/unifi-poller
/*.1.gz
/*.gz
/*.1
/vendor
.DS_Store

18
core/poller/Gopkg.lock generated
View File

@ -40,14 +40,6 @@
revision = "e6f5723bf2a66af014955e0888881314cf294129"
version = "v0.1.1"
[[projects]]
digest = "1:8fd3a15613c7e70cceff3aa03dd57560dba87c4868864e397d5eb2f14addd3f5"
name = "github.com/ogier/pflag"
packages = ["."]
pruneopts = "UT"
revision = "32a05c62658bd1d7c7e75cbc8195de5d585fde0f"
version = "v0.0.1"
[[projects]]
digest = "1:cf31692c14422fa27c83a05292eb5cbe0fb2775972e8f1f8446a71549bd8980b"
name = "github.com/pkg/errors"
@ -56,6 +48,14 @@
revision = "ba968bfe8b2f7e042a574c888954fccecfa385b4"
version = "v0.8.1"
[[projects]]
digest = "1:c1b1102241e7f645bc8e0c22ae352e8f0dc6484b6cb4d132fa9f24174e0119e2"
name = "github.com/spf13/pflag"
packages = ["."]
pruneopts = "UT"
revision = "298182f68c66c05229eb03ac171abe6e309ee79a"
version = "v1.0.3"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
@ -63,7 +63,7 @@
"github.com/golift/unifi",
"github.com/influxdata/influxdb1-client/v2",
"github.com/naoina/toml",
"github.com/ogier/pflag",
"github.com/spf13/pflag",
]
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -28,10 +28,6 @@
name = "github.com/naoina/toml"
version = "0.1.1"
[[constraint]]
name = "github.com/ogier/pflag"
version = "0.0.1"
[prune]
go-tests = true
unused-packages = true

View File

@ -11,7 +11,7 @@ import (
"github.com/golift/unifi"
influx "github.com/influxdata/influxdb1-client/v2"
"github.com/naoina/toml"
flag "github.com/ogier/pflag"
flag "github.com/spf13/pflag"
)
// Asset is used to give all devices and clients a common interface.