aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-25 23:54:29 +0800
committerzelig <viktor.tron@gmail.com>2014-06-25 23:54:29 +0800
commit8ee1abecb971e39ad5e0ed5b199ff4bf553ca67a (patch)
tree5de72f03063047980599783e8e87c6e87dc27c42 /ethereal
parent39c0f7f3865965ae64ea51aba4de5b7350539ea8 (diff)
downloadgo-tangerine-8ee1abecb971e39ad5e0ed5b199ff4bf553ca67a.tar.gz
go-tangerine-8ee1abecb971e39ad5e0ed5b199ff4bf553ca67a.tar.zst
go-tangerine-8ee1abecb971e39ad5e0ed5b199ff4bf553ca67a.zip
update log levels to include DebugDetail; correct default datadir for ethereal
Diffstat (limited to 'ethereal')
-rw-r--r--ethereal/flags.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/ethereal/flags.go b/ethereal/flags.go
index 5975439c9..5ab4c80e2 100644
--- a/ethereal/flags.go
+++ b/ethereal/flags.go
@@ -61,7 +61,7 @@ func defaultAssetPath() string {
func defaultDataDir() string {
usr, _ := user.Current()
- return path.Join(usr.HomeDir, ".ethereum")
+ return path.Join(usr.HomeDir, ".ethereal")
}
var defaultConfigFile = path.Join(defaultDataDir(), "conf.ini")
@@ -87,7 +87,8 @@ func Init() {
flag.StringVar(&Datadir, "datadir", defaultDataDir(), "specifies the datadir to use")
flag.StringVar(&ConfigFile, "conf", defaultConfigFile, "config file")
flag.StringVar(&DebugFile, "debug", "", "debug file (no debugging if not set)")
- flag.IntVar(&LogLevel, "loglevel", int(ethlog.InfoLevel), "loglevel: 0-4: silent,error,warn,info,debug)")
+ flag.IntVar(&LogLevel, "loglevel", int(ethlog.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)")
+
flag.StringVar(&AssetPath, "asset_path", defaultAssetPath(), "absolute path to GUI assets directory")
flag.Parse()