diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-09 17:31:04 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-04-09 17:31:04 +0800 |
commit | 79cc3cc98e0c2622612de242b95da60218cca20a (patch) | |
tree | 4e705b720be4fd390441aacd07ee40000455daf9 /cmd/utils/flags.go | |
parent | a9959805e572ec438bf31ea97cb4a52e0e9715e9 (diff) | |
parent | 6da5b2fc5fc0fe703158411afcd4f05add0336f2 (diff) | |
download | go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.tar go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.tar.gz go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.tar.bz2 go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.tar.lz go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.tar.xz go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.tar.zst go-tangerine-79cc3cc98e0c2622612de242b95da60218cca20a.zip |
Merge pull request #671 from bas-vk/issue_567
Add path expansion support for command line arguments, closes 567
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r-- | cmd/utils/flags.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index c69faba03..3ad06653e 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -68,10 +68,10 @@ func NewApp(version, usage string) *cli.App { var ( // General settings - DataDirFlag = cli.StringFlag{ + DataDirFlag = DirectoryFlag{ Name: "datadir", Usage: "Data directory to be used", - Value: common.DefaultDataDir(), + Value: DirectoryString{common.DefaultDataDir()}, } ProtocolVersionFlag = cli.IntFlag{ Name: "protocolversion", |