aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-11 18:14:08 +0800
committerGitHub <noreply@github.com>2017-01-11 18:14:08 +0800
commitb52fde7cf7ce50725830a9d7ddb61e0e8094c7cd (patch)
treeb6b5eb1ac26c2aaef462f48d6f6738d588c44ed4 /cmd
parent2b4d0b6ff9954de72177980213e7fee0081973d1 (diff)
parentd78f9b834ade0f1ebcf2532bf90d01c85ad50a8e (diff)
downloaddexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar
dexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.gz
dexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.bz2
dexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.lz
dexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.xz
dexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.zst
dexon-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.zip
Merge pull request #3546 from fjl/deps-update
vendor: update dependencies
Diffstat (limited to 'cmd')
-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
}