Permalink
Browse files

fix help typo

  • Loading branch information...
Richard Chen Richard Chen
Richard Chen authored and Richard Chen committed Aug 30, 2018
1 parent e717251 commit dc644e0289ce70feb1839080cd82f34265150656
Showing with 4 additions and 4 deletions.
  1. +1 −1 docs/CmdHelp.md
  2. +1 −1 src/rpc/rpcserver.cpp
  3. +1 −1 src/rpc/rpctx.cpp
  4. +1 −1 src/rpc/rpcwallet.cpp
@@ -12,7 +12,7 @@
| dumpwallet | ```<filename>``` | Dumps all wallet keys in a human-readable format.And write to ```<filename>``` | Y |
| dumpprivkey | ```<dacrsaddress>``` | Reveals the private key corresponding to ```<dacrsaddress>``` | Y |
| encryptwallet | ```<passphrase>``` | Encrypts the wallet with ```<passphrase>``` | N |
| generateblock | ```<address>``` | cteate a block with the appointed address | N |
| generateblock | ```<address>``` | create a block with the appointed address | N |
| getaccountinfo | ```<address>``` | Returns the account information with the given address | N |
| getaddednodeinfo | ```<dns>``` [node] | Returns information about the given added node, or all added nodes. <br>(note that onetry addnodes are not listed here) If dns is false, only a list of added nodes will be provided, otherwise connected information will also be available. | N |
| getappaccinfo | ```<scriptid><address>``` | get appaccount info | N |
@@ -905,7 +905,7 @@ json_spirit::Value CRPCTable::execute(const string &strMethod, const json_spirit
}
string HelpExampleCli(string methodname, string args){
return "> Dacrsd " + methodname + " " + args + "\n";
return "> ./waykicoind " + methodname + " " + args + "\n";
}
string HelpExampleRpc(string methodname, string args){
@@ -1737,7 +1737,7 @@ Value getaddrbalance(const Array& params, bool fHelp) {
Value generateblock(const Array& params, bool fHelp) {
if (fHelp || params.size() != 1) {
throw runtime_error("generateblock \"addr\"\n"
"\ncteate a block with the appointed address\n"
"\ncreate a block with the appointed address\n"
"\nArguments:\n"
"1.\"addr\": (string, required)\n"
"\nResult:\n"
@@ -63,7 +63,7 @@ Value getnewaddress(const Array& params, bool fHelp)
"getnewaddress (\"IsMiner\")\n"
"\nget a new address\n"
"\nArguments:\n"
"1. \"IsMiner\" (bool, optional) private key Is used for miner if true will create tow key ,another for miner.\n"
"1. \"IsMiner\" (bool, optional) private key is used for miner if true will create two key ,another for miner.\n"
"\nExamples:\n"
+ HelpExampleCli("getnewaddress", "")
+ HelpExampleCli("getnewaddress", "true")

0 comments on commit dc644e0

Please sign in to comment.