I've upgraded my geth client to version 1.4.10-stable-5f55d95a (from 1.3.5) and now it won't run with the following command line arguments (the documentation is lackluster when it comes to describing the init parameter):
geth --datadir "./data_dir" --networkid 13 --rpcapi eth,web3,personal --rpc --maxpeers 0 init "gen.josn" --etherbase "0x0000000000000000000000000000000000000000" --mine --minerthreads 2
which worked in 1.3.5.
I've tried the following variations:
geth --mine --minerthreads 2 --datadir "./data_dir" --networkid 13 --rpcapi eth,web3,personal --rpc --maxpeers 0 init "gen.json"
which gives:
I0727 11:44:43.892926 ethdb/database.go:82] Alloted 16MB cache and 16 file handles to single_bootstrap_node_geth/chaindata
I0727 11:44:43.917096 core/genesis.go:92] Genesis block already in chain. Writing canonical number
I0727 11:44:43.917411 cmd/geth/main.go:299] successfully wrote genesis block and/or chain rule set: 2279317df6aed704d8d46771ed06fbe4b7a935f7005d341b091b7957bc374def
and also running as:
geth init "gen.json" --mine --minerthreads 2 --datadir "./data_dir" --networkid 13 --rpcapi eth,web3,personal --rpc --maxpeers 0
which gives:
Incorrect Usage.
init [arguments...]
The init command initialises a new genesis block and definition for the network.
This is a destructive action and changes the network in which you will be
participating.
flag provided but not defined: -mine
Where can I find the documentation of version 1.4.10?