@@ -396,13 +396,12 @@ void RPCExecutor::request(const QString &command, const WalletModel* wallet_mode
396396 std::string executableCommand = command.toStdString () + " \n " ;
397397
398398 // Catch the console-only-help command before RPC call is executed and reply with help text as-if a RPC reply.
399- if (executableCommand == " help-console\n " )
400- {
399+ if (executableCommand == " help-console\n " ) {
401400 Q_EMIT reply (RPCConsole::CMD_REPLY, QString ((" \n "
402401 " This console accepts RPC commands using the standard syntax.\n "
403402 " example: getblockhash 0\n\n "
404403
405- " This console can also accept RPC commands using parenthesized syntax.\n "
404+ " This console can also accept RPC commands using the parenthesized syntax.\n "
406405 " example: getblockhash(0)\n\n "
407406
408407 " Commands may be nested when specified with the parenthesized syntax.\n "
@@ -412,11 +411,11 @@ void RPCExecutor::request(const QString &command, const WalletModel* wallet_mode
412411 " example: getblockhash 0\n "
413412 " getblockhash,0\n\n "
414413
415- " Named results can be queried with a non-quoted key string in brackets.\n "
416- " example: getblock(getblockhash(0) true )[tx]\n\n "
414+ " Named results can be queried with a non-quoted key string in brackets using the parenthesized syntax .\n "
415+ " example: getblock(getblockhash(0) 1 )[tx]\n\n "
417416
418- " Results without keys can be queried using an integer in brackets.\n "
419- " example: getblock(getblockhash(0),true )[tx][0]\n\n " )));
417+ " Results without keys can be queried with an integer in brackets using the parenthesized syntax .\n "
418+ " example: getblock(getblockhash(0),1 )[tx][0]\n\n " )));
420419 return ;
421420 }
422421 if (!RPCConsole::RPCExecuteCommandLine (m_node, result, executableCommand, nullptr , wallet_model)) {
0 commit comments