aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-03-08 19:26:19 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-03-08 19:26:19 +0800
commit544247c91828b5f99d7d2bd61b98cc51e2b23e44 (patch)
treef4b45e6703b17ca32724436bd35f1397467e805f /cmd/utils
parent4c6f4e569e66b399c69d4f018f3a3b7919ef144c (diff)
downloadgo-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.tar
go-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.tar.gz
go-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.tar.bz2
go-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.tar.lz
go-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.tar.xz
go-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.tar.zst
go-tangerine-544247c91828b5f99d7d2bd61b98cc51e2b23e44.zip
* cmd/geth: add --nocompaction flag + multiple import files
* main,import: Add --nocompaction flag + multiple import files * geth/import: documentation * import: Added more info to err message * fix :P
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index adc18a203..04db9a16f 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -244,7 +244,10 @@ var (
Name: "fakepow",
Usage: "Disables proof-of-work verification",
}
-
+ NoCompactionFlag = cli.BoolFlag{
+ Name: "nocompaction",
+ Usage: "Disables db compaction after import",
+ }
// RPC settings
RPCEnabledFlag = cli.BoolFlag{
Name: "rpc",