aboutsummaryrefslogtreecommitdiffstats
path: root/config.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-02-21 19:37:40 +0800
committerobscuren <geffobscura@gmail.com>2014-02-21 19:37:40 +0800
commit05c353eca0c4e01457412dd643529200816ab159 (patch)
tree2294ad6c7976dcf4880dae5d7544a99c22947b74 /config.go
parentd7ecc92c4134e3987b2b370bb53b0cd560fc0f7b (diff)
downloadgo-tangerine-05c353eca0c4e01457412dd643529200816ab159.tar
go-tangerine-05c353eca0c4e01457412dd643529200816ab159.tar.gz
go-tangerine-05c353eca0c4e01457412dd643529200816ab159.tar.bz2
go-tangerine-05c353eca0c4e01457412dd643529200816ab159.tar.lz
go-tangerine-05c353eca0c4e01457412dd643529200816ab159.tar.xz
go-tangerine-05c353eca0c4e01457412dd643529200816ab159.tar.zst
go-tangerine-05c353eca0c4e01457412dd643529200816ab159.zip
Added a basic <UNSTABLE> UI
Diffstat (limited to 'config.go')
-rw-r--r--config.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.go b/config.go
index 573f5ded2..c25c8f2a3 100644
--- a/config.go
+++ b/config.go
@@ -15,11 +15,13 @@ var GenAddr bool
var UseSeed bool
var ImportKey string
var ExportKey bool
+var UseGui bool
func Init() {
flag.BoolVar(&StartConsole, "c", false, "debug and testing console")
flag.BoolVar(&StartMining, "m", false, "start dagger mining")
flag.BoolVar(&ShowGenesis, "g", false, "prints genesis header and exits")
+ flag.BoolVar(&UseGui, "gui", false, "use the gui")
flag.BoolVar(&UseUPnP, "upnp", false, "enable UPnP support")
flag.BoolVar(&UseSeed, "seed", true, "seed peers")
flag.BoolVar(&GenAddr, "genaddr", false, "create a new priv/pub key")