aboutsummaryrefslogtreecommitdiffstats
path: root/ethereum/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethereum/config.go')
-rw-r--r--ethereum/config.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ethereum/config.go b/ethereum/config.go
index e4935dfed..899a17ca6 100644
--- a/ethereum/config.go
+++ b/ethereum/config.go
@@ -15,8 +15,7 @@ var GenAddr bool
var UseSeed bool
var ImportKey string
var ExportKey bool
-
-//var UseGui bool
+var LogFile string
var DataDir string
func Init() {
@@ -29,6 +28,7 @@ func Init() {
flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key")
flag.BoolVar(&ExportKey, "export", false, "export private key")
flag.StringVar(&OutboundPort, "p", "30303", "listening port")
+ flag.StringVar(&LogFile, "logfile", "", "log file (defaults to standard output)")
flag.StringVar(&DataDir, "dir", ".ethereum", "ethereum data directory")
flag.StringVar(&ImportKey, "import", "", "imports the given private key (hex)")
flag.IntVar(&MaxPeer, "x", 5, "maximum desired peers")