fix command line argument for account_balance and other paginated commands

This commit is contained in:
Lex Berezhny 2018-10-09 10:30:30 -04:00
parent 9525b87224
commit 82871b8f6b

View file

@ -989,7 +989,7 @@ class Daemon(AuthJSONRPCServer):
return self._render_response(sorted([command for command in self.callable_methods.keys()])) return self._render_response(sorted([command for command in self.callable_methods.keys()]))
@AuthJSONRPCServer.deprecated("account_balance") @AuthJSONRPCServer.deprecated("account_balance")
def jsonrpc_wallet_balance(self, address=None, include_unconfirmed=False): def jsonrpc_wallet_balance(self, address=None):
pass pass
@AuthJSONRPCServer.deprecated("account_unlock") @AuthJSONRPCServer.deprecated("account_unlock")
@ -1169,7 +1169,7 @@ class Daemon(AuthJSONRPCServer):
Return the balance of an account Return the balance of an account
Usage: Usage:
account_balance [<account_id>] [<address> | --address=<address>] [--include_unconfirmed] account_balance [<account_id>] [<address> | --address=<address>]
Options: Options:
--account_id=<account_id> : (str) If provided only the balance for this --account_id=<account_id> : (str) If provided only the balance for this
@ -1513,6 +1513,7 @@ class Daemon(AuthJSONRPCServer):
Usage: Usage:
address_list [<account_id> | --account_id=<account_id>] address_list [<account_id> | --account_id=<account_id>]
[--offset=<offset>] [--limit=<limit>]
Options: Options:
--account_id=<account_id> : (str) id of the account to use --account_id=<account_id> : (str) id of the account to use
@ -2057,7 +2058,8 @@ class Daemon(AuthJSONRPCServer):
Get certificate claim infos for channels that can be published to Get certificate claim infos for channels that can be published to
Usage: Usage:
channel_list channel_list [<account_id> | --account_id=<account_id> ]
[--offset=<offset>] [--limit=<limit>]
Options: Options:
--account_id=<account_id> : (str) id of the account to use --account_id=<account_id> : (str) id of the account to use
@ -2483,6 +2485,7 @@ class Daemon(AuthJSONRPCServer):
Usage: Usage:
claim_list_mine [<account_id> | --account_id=<account_id>] claim_list_mine [<account_id> | --account_id=<account_id>]
[--offset=<offset>] [--limit=<limit>]
Options: Options:
--account_id=<account_id> : (str) id of the account to query --account_id=<account_id> : (str) id of the account to query
@ -2663,6 +2666,7 @@ class Daemon(AuthJSONRPCServer):
Usage: Usage:
transaction_list [<account_id> | --account_id=<account_id>] transaction_list [<account_id> | --account_id=<account_id>]
[--offset=<offset>] [--limit=<limit>]
Options: Options:
--account_id=<account_id> : (str) id of the account to query --account_id=<account_id> : (str) id of the account to query
@ -2753,7 +2757,8 @@ class Daemon(AuthJSONRPCServer):
List unspent transaction outputs List unspent transaction outputs
Usage: Usage:
utxo_list [<account_id>] utxo_list [<account_id> | --account_id=<account_id>]
[--offset=<offset>] [--limit=<limit>]
Options: Options:
--account_id=<account_id> : (str) id of the account to query --account_id=<account_id> : (str) id of the account to query