forked from LBRYCommunity/lbry-sdk
fix comment_create docs
This commit is contained in:
parent
846df2eef1
commit
f941950ee2
2 changed files with 3 additions and 2 deletions
|
@ -5134,7 +5134,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
comment_create (<comment> | --comment=<comment>)
|
comment_create (<comment> | --comment=<comment>)
|
||||||
(<claim_id> | --claim_id=<claim_id> | --parent_id=<parent_id>)
|
(<claim_id> | --claim_id=<claim_id>) [--parent_id=<parent_id>]
|
||||||
(--channel_id=<channel_id> | --channel_name=<channel_name>)
|
(--channel_id=<channel_id> | --channel_name=<channel_name>)
|
||||||
[--channel_account_id=<channel_account_id>...] [--wallet_id=<wallet_id>]
|
[--channel_account_id=<channel_account_id>...] [--wallet_id=<wallet_id>]
|
||||||
|
|
||||||
|
|
|
@ -337,7 +337,8 @@ class Examples(CommandTestCase):
|
||||||
'Use the parent_id param to make replies',
|
'Use the parent_id param to make replies',
|
||||||
'comment', 'create',
|
'comment', 'create',
|
||||||
'--comment="I have photographic evidence confirming Sasquatch exists"',
|
'--comment="I have photographic evidence confirming Sasquatch exists"',
|
||||||
f'--channel_name=@channel', f'--parent_id={comment["comment_id"]}'
|
f'--channel_name=@channel', f'--parent_id={comment["comment_id"]}',
|
||||||
|
f'--claim_id={stream_id}'
|
||||||
)
|
)
|
||||||
|
|
||||||
await r(
|
await r(
|
||||||
|
|
Loading…
Reference in a new issue