aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/chaincmd.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-06-06 21:50:23 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-06-06 21:50:23 +0800
commited621aae333ac183acc29c396c708ae57301838a (patch)
treee9b01bc56f9a07cdf8451fc263c9fe5a3b16f0db /cmd/geth/chaincmd.go
parentd65b64c8846636d3e58c1857eaff149d2f82a283 (diff)
downloaddexon-ed621aae333ac183acc29c396c708ae57301838a.tar
dexon-ed621aae333ac183acc29c396c708ae57301838a.tar.gz
dexon-ed621aae333ac183acc29c396c708ae57301838a.tar.bz2
dexon-ed621aae333ac183acc29c396c708ae57301838a.tar.lz
dexon-ed621aae333ac183acc29c396c708ae57301838a.tar.xz
dexon-ed621aae333ac183acc29c396c708ae57301838a.tar.zst
dexon-ed621aae333ac183acc29c396c708ae57301838a.zip
Cleanup
Diffstat (limited to 'cmd/geth/chaincmd.go')
-rw-r--r--cmd/geth/chaincmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go
index 509356a90..2e90001af 100644
--- a/cmd/geth/chaincmd.go
+++ b/cmd/geth/chaincmd.go
@@ -69,7 +69,7 @@ func importChain(ctx *cli.Context) {
}
func exportChain(ctx *cli.Context) {
- if len(ctx.Args()) != 1 {
+ if len(ctx.Args()) < 1 {
utils.Fatalf("This command requires an argument.")
}
chain, _, _, _ := utils.MakeChain(ctx)