zcash-cli in command line produces this (“too few parameters”):
Zcash RPC client version v2.0.0
In order to ensure you are adequately protecting your privacy when using Zcash,
please see https://z.cash/support/security/.
Usage:
zcash-cli [options] [params] Send command to Zcash
zcash-cli [options] help List commands
zcash-cli [options] help Get help for a command
Options:
-?
This help message
-conf=
Specify configuration file (default: zcash.conf)
-datadir=
Specify data directory
-testnet
Use the test network
-regtest
Enter regression test mode, which uses a special chain in which blocks
can be solved instantly. This is intended for regression testing tools
and app development.
-rpcconnect=
Send commands to node running on (default: 127.0.0.1)
-rpcport=
Connect to JSON-RPC on (default: 8232 or testnet: 18232)
-rpcwait
Wait for RPC server to start
-rpcuser=
Username for JSON-RPC connections
-rpcpassword=
Password for JSON-RPC connections
-rpcclienttimeout=
Timeout in seconds during HTTP requests, or 0 for no timeout. (default:
900)
-stdin
Read extra arguments from standard input, one per line until EOF/Ctrl-D
(recommended for sensitive information such as passphrases)
Error: too few parameters
I don’t have mining enabled yet. My conf file is:
rpcuser=username
rpcpassword=redacted=
mainnet=1
addnode=mainnet.z.cash