Skip to content
Snippets Groups Projects
Commit 1534b994 authored by matograine's avatar matograine Committed by Moul
Browse files

[mod] #148: rename command "issuers" to "blocks"

parent 04328e5c
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ def usage(): ...@@ -76,7 +76,7 @@ def usage():
\n \ \n \
\n - diffi: list proof-of-work difficulty to generate next block \ \n - diffi: list proof-of-work difficulty to generate next block \
\n \ \n \
\n - issuers n: display last n issuers (`0` for current window size) \ \n - blocks n: display last n issuers (`0` for current window size) \
\n last issuers are displayed under n <= 30.\ \n last issuers are displayed under n <= 30.\
\n To force display last ones, use `--last` option\ \n To force display last ones, use `--last` option\
\n \ \n \
...@@ -114,7 +114,7 @@ def manage_cmd(): ...@@ -114,7 +114,7 @@ def manage_cmd():
"diffi", "diffi",
"net", "net",
"network", "network",
"issuers", "blocks",
"argos", "argos",
"amount", "amount",
"tx", "tx",
...@@ -148,7 +148,7 @@ def manage_cmd(): ...@@ -148,7 +148,7 @@ def manage_cmd():
network_info(cli_args.contains_switches("discover")) network_info(cli_args.contains_switches("discover"))
elif ( elif (
cli_args.subcmd == "issuers" cli_args.subcmd == "blocks"
and cli_args.subsubcmd and cli_args.subsubcmd
and int(cli_args.subsubcmd) >= 0 and int(cli_args.subsubcmd) >= 0
): ):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment