diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-15 20:00:09 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-15 20:00:29 +0800 |
commit | 56dac74f71d4d1fffa3e240c7d3cee803dec788d (patch) | |
tree | 50ad3adbb32c6cea0e74a69a313d39dc54b4188b /cmd/mist/flags.go | |
parent | c7bc684909ab3d135d25a718d5ff2c725816e0fc (diff) | |
download | go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.gz go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.tar.zst go-tangerine-56dac74f71d4d1fffa3e240c7d3cee803dec788d.zip |
made mist in a compilable, workable state using the new refactored packages
Diffstat (limited to 'cmd/mist/flags.go')
-rw-r--r-- | cmd/mist/flags.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go index 2ae0a0487..1d77532d9 100644 --- a/cmd/mist/flags.go +++ b/cmd/mist/flags.go @@ -36,10 +36,12 @@ var ( Identifier string KeyRing string KeyStore string + PMPGateway string StartRpc bool StartWebSockets bool RpcPort int UseUPnP bool + NatType string OutboundPort string ShowGenesis bool AddPeer string @@ -111,10 +113,12 @@ func Init() { flag.BoolVar(&NonInteractive, "y", false, "non-interactive mode (say yes to confirmations)") flag.BoolVar(&UseSeed, "seed", true, "seed peers") flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key") + flag.StringVar(&NatType, "nat", "", "NAT support (UPNP|PMP) (none)") flag.StringVar(&SecretFile, "import", "", "imports the file given (hex or mnemonic formats)") flag.StringVar(&ExportDir, "export", "", "exports the session keyring to files in the directory given") flag.StringVar(&LogFile, "logfile", "", "log file (defaults to standard output)") flag.StringVar(&Datadir, "datadir", defaultDataDir(), "specifies the datadir to use") + flag.StringVar(&PMPGateway, "pmp", "", "Gateway IP for PMP") flag.StringVar(&ConfigFile, "conf", defaultConfigFile, "config file") flag.StringVar(&DebugFile, "debug", "", "debug file (no debugging if not set)") flag.IntVar(&LogLevel, "loglevel", int(logger.InfoLevel), "loglevel: 0-5: silent,error,warn,info,debug,debug detail)") |