From 75211b7e84050d732880634f8715859699d61c60 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Sun, 5 May 2019 22:52:42 -0400 Subject: [PATCH] updated claim_search doc string --- lbrynet/extras/daemon/Daemon.py | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/lbrynet/extras/daemon/Daemon.py b/lbrynet/extras/daemon/Daemon.py index d4c9ae8e9..360e3e605 100644 --- a/lbrynet/extras/daemon/Daemon.py +++ b/lbrynet/extras/daemon/Daemon.py @@ -1669,23 +1669,32 @@ class Daemon(metaclass=JSONRPCServerType): """ Search for stream and channel claims on the blockchain. - Use --channel_id= or --channel_name= to list all stream claims in a channel. + Use --channel_id= to list all stream claims in a channel. Usage: claim_search [ | --name=] [--claim_id=] [--txid= --nout=] - [--channel_id=] [--channel_name=] [--is_controlling] [--page=] - [--page_size=] + [--channel_id=] [--channel_name=] [--is_controlling] + [--any_tags=...] [--all_tags=...] + [--any_languages=...] [--all_languages=...] + [--any_locations=...] [--all_locations=...] + [--page=] [--page_size=] Options: - --name= : (str) find claims with this name - --claim_id= : (str) find a claim with this claim_id - --txid= : (str) find a claim with this txid:nout - --nout= : (str) find a claim with this txid:nout - --channel_id= : (str) limit search to specific channel claim id (returns stream claims) - --channel_name= : (str) limit search to specific channel name (returns stream claims) - --is_controlling : (bool) limit to controlling claims for their respective name - --page= : (int) page to return during paginating - --page_size= : (int) number of items on page during pagination + --name= : (str) find claims with this name + --claim_id= : (str) find a claim with this claim_id + --txid= : (str) find a claim with this txid:nout + --nout= : (str) find a claim with this txid:nout + --channel_id= : (str) limit search to specific channel claim id (returns stream claims) + --channel_name= : (str) limit search to specific channel name (returns stream claims) + --is_controlling : (bool) limit to controlling claims for their respective name + --any_tags= : (list) find claims containing any of the tags + --all_tags= : (list) find claims containing every tag + --any_languages= : (list) find claims containing any of the languages + --all_languages= : (list) find claims containing every language + --any_locations= : (list) find claims containing any of the locations + --all_locations= : (list) find claims containing every location + --page= : (int) page to return during paginating + --page_size= : (int) number of items on page during pagination Returns: {Paginated[Output]} """