|
|
|
@ -28,6 +28,7 @@ import ( |
|
|
|
|
"runtime" |
|
|
|
|
|
|
|
|
|
"bitbucket.org/kardianos/osext" |
|
|
|
|
"github.com/ethereum/go-ethereum/logger" |
|
|
|
|
"github.com/ethereum/go-ethereum/vm" |
|
|
|
|
) |
|
|
|
|
|
|
|
|
@ -116,7 +117,7 @@ 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(repllogger.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)") |
|
|
|
|
flag.IntVar(&LogLevel, "loglevel", int(logger.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)") |
|
|
|
|
|
|
|
|
|
flag.StringVar(&AssetPath, "asset_path", defaultAssetPath(), "absolute path to GUI assets directory") |
|
|
|
|
|
|
|
|
|