HomePhabricator

Add help-console command to Qt debug console

Description

Add help-console command to Qt debug console

Summary:

  • Added help-console to the list of autocompletion strings
  • Implemented requested changes to help message:
    • Added an example that uses access-by-index getblock(getblockhash(0) true)[tx][0]
    • Replace "bracketed syntax" to "parenthesized syntax" where applicable
    • Replace "separate" with "delimit"
    • Removed <br> and <b>help/help-console</b> from translation strings, since these parts don't change between languages
    • Changed examples to be based off getblock 0 so they will work even with pruned/no blockchain and disablewallet if copied and pasted
    • Clarified syntax for queries of named/unnamed result objects.

Backport of Core PR #11698
Completes T430
Co-authored-by: Jason B. Cox <contact@jasonbcox.com>

Test Plan: ninja check

Reviewers: deadalnix, schancel, #bitcoin_abc

Reviewed By: deadalnix, schancel, #bitcoin_abc

Subscribers: teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1938

Details

Provenance
Luke Mlsna <luke@mlsna.net>Authored on Nov 18 2017, 04:43
jasonbcoxCommitted on Oct 20 2018, 16:17
jasonbcoxPushed on Oct 20 2018, 17:24
Reviewer
Restricted Project
Differential Revision
D1938: Add help-console command to Qt debug console
Parents
rSTAGING8bc1bb0bc695: Various nits in random.{h|cpp}
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/5463