From 1534b9940cd8cc650b2440a0b4431d736f73d621 Mon Sep 17 00:00:00 2001 From: matograine <tom.ngr@zaclys.net> Date: Sun, 9 Dec 2018 20:01:06 +0000 Subject: [PATCH] [mod] #148: rename command "issuers" to "blocks" --- silkaj/cli_tools.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/silkaj/cli_tools.py b/silkaj/cli_tools.py index 394be0bb..d1db8d00 100644 --- a/silkaj/cli_tools.py +++ b/silkaj/cli_tools.py @@ -76,7 +76,7 @@ def usage(): \n \ \n - diffi: list proof-of-work difficulty to generate next block \ \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 To force display last ones, use `--last` option\ \n \ @@ -114,7 +114,7 @@ def manage_cmd(): "diffi", "net", "network", - "issuers", + "blocks", "argos", "amount", "tx", @@ -148,7 +148,7 @@ def manage_cmd(): network_info(cli_args.contains_switches("discover")) elif ( - cli_args.subcmd == "issuers" + cli_args.subcmd == "blocks" and cli_args.subsubcmd and int(cli_args.subsubcmd) >= 0 ): -- GitLab