diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-11 18:14:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-11 18:14:08 +0800 |
commit | b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd (patch) | |
tree | b6b5eb1ac26c2aaef462f48d6f6738d588c44ed4 /cmd | |
parent | 2b4d0b6ff9954de72177980213e7fee0081973d1 (diff) | |
parent | d78f9b834ade0f1ebcf2532bf90d01c85ad50a8e (diff) | |
download | go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.gz go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.bz2 go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.lz go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.xz go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.tar.zst go-tangerine-b52fde7cf7ce50725830a9d7ddb61e0e8094c7cd.zip |
Merge pull request #3546 from fjl/deps-update
vendor: update dependencies
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/utils/customflags.go | 5 |
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 } |