aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-20 19:01:51 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-04-20 19:01:51 +0800
commit6430e672c99f6d22582b104f8467d4bd8a4b5f6e (patch)
treef320b92a44384fdcc699e925197228f4a4f4ec0d /cmd/geth
parente353f9c0886f0cc13fd01c8b3abf2fa63025c62f (diff)
downloaddexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.tar
dexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.tar.gz
dexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.tar.bz2
dexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.tar.lz
dexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.tar.xz
dexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.tar.zst
dexon-6430e672c99f6d22582b104f8467d4bd8a4b5f6e.zip
cmd, node: add --nosub and node.Config.NoUSB to disable hw wallets
Diffstat (limited to 'cmd/geth')
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/geth/usage.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index c2d719d95..ad7b639a3 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -88,6 +88,7 @@ func init() {
utils.BootnodesFlag,
utils.DataDirFlag,
utils.KeyStoreDirFlag,
+ utils.NoUSBFlag,
utils.EthashCacheDirFlag,
utils.EthashCachesInMemoryFlag,
utils.EthashCachesOnDiskFlag,
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index 457728154..9f06a308b 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -67,6 +67,7 @@ var AppHelpFlagGroups = []flagGroup{
configFileFlag,
utils.DataDirFlag,
utils.KeyStoreDirFlag,
+ utils.NoUSBFlag,
utils.NetworkIdFlag,
utils.TestNetFlag,
utils.DevModeFlag,