From f941950ee22eaac7ac56db21cdcfcdf2120d35ab Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Mon, 7 Dec 2020 21:13:43 -0500 Subject: [PATCH] fix comment_create docs --- lbry/extras/daemon/daemon.py | 2 +- scripts/generate_json_api.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lbry/extras/daemon/daemon.py b/lbry/extras/daemon/daemon.py index 8f0ae21ff..27d4f152a 100644 --- a/lbry/extras/daemon/daemon.py +++ b/lbry/extras/daemon/daemon.py @@ -5134,7 +5134,7 @@ class Daemon(metaclass=JSONRPCServerType): Usage: comment_create ( | --comment=) - ( | --claim_id= | --parent_id=) + ( | --claim_id=) [--parent_id=] (--channel_id= | --channel_name=) [--channel_account_id=...] [--wallet_id=] diff --git a/scripts/generate_json_api.py b/scripts/generate_json_api.py index d8ec76168..97934c24e 100644 --- a/scripts/generate_json_api.py +++ b/scripts/generate_json_api.py @@ -337,7 +337,8 @@ class Examples(CommandTestCase): 'Use the parent_id param to make replies', 'comment', 'create', '--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(