diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go index 6ff5c2cc06..c2f45da4a4 100644 --- a/cmd/geth/chaincmd.go +++ b/cmd/geth/chaincmd.go @@ -54,10 +54,13 @@ participating. Action: importChain, Name: "import", Usage: "Import a blockchain file", - ArgsUsage: "", + ArgsUsage: " ( ... ) ", Category: "BLOCKCHAIN COMMANDS", Description: ` -TODO: Please write this +The import command imports blocks from an RLP-encoded form. The form can be one file +with several RLP-encoded blocks, or several files can be used. +If only one file is used, import error will result in failure. If several files are used, +processing will proceed even if an individual RLP-file import failure occurs. `, } exportCommand = cli.Command{ diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index adc18a2030..04db9a16f3 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",