aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-11 02:33:17 +0800
committerFelix Lange <fjl@twurst.com>2017-01-11 05:33:24 +0800
commitd78f9b834ade0f1ebcf2532bf90d01c85ad50a8e (patch)
treedd03906433e1032a0b185910773206246d8a1556 /cmd/utils
parent02b67558e8eaa7b34a28b8dd0223824bbbb52349 (diff)
downloaddexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.gz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.bz2
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.lz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.xz
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.tar.zst
dexon-d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e.zip
vendor: update all dependencies except Azure SDK
The Azure SDK doesn't support Go 1.5 anymore. We can't upgrade it until Go 1.8 comes out.
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/customflags.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/cmd/utils/customflags.go b/cmd/utils/customflags.go
index 8e5944a50..52cd7b8c7 100644
--- a/cmd/utils/customflags.go
+++ b/cmd/utils/customflags.go
@@ -23,8 +23,6 @@ import (
"os/user"
"path"
"strings"
-
- "gopkg.in/urfave/cli.v1"
)
// Custom type which is registered in the flags library which cli uses for
@@ -46,7 +44,6 @@ func (self *DirectoryString) Set(value string) error {
// Custom cli.Flag type which expand the received string to an absolute path.
// e.g. ~/.ethereum -> /home/username/.ethereum
type DirectoryFlag struct {
- cli.GenericFlag
Name string
Value DirectoryString
Usage string
@@ -117,7 +114,7 @@ func withEnvHint(envVar, str string) string {
return str + envText
}
-func (self DirectoryFlag) getName() string {
+func (self DirectoryFlag) GetName() string {
return self.Name
}