lib/zold/commands/remote.rb in zold-0.23.11 vs lib/zold/commands/remote.rb in zold-0.24.0

- old
+ new

@@ -72,16 +72,16 @@ #{Rainbow('remote elect').green} Pick a random remote node as a target for a bonus awarding #{Rainbow('remote trim').green} Remove the least reliable nodes #{Rainbow('remote select [options]').green} - Select the most reliable N nodes. + Select the most reliable N nodes #{Rainbow('remote update').green} Check each registered remote node for availability Available options:" o.integer '--tolerate', - 'Maximum level of errors we are able to tolerate', + "Maximum level of errors we are able to tolerate (default: #{Remotes::TOLERANCE})", default: Remotes::TOLERANCE o.bool '--ignore-score-weakness', 'Don\'t complain when their score is too weak', default: false o.bool '--ignore-score-value', @@ -113,14 +113,14 @@ default: false o.bool '--ignore-ping', 'Don\'t fail if ping fails, just report the problem in the log', default: false o.integer '--depth', - 'The amount of update cycles to run, in order to fetch as many nodes as possible (default: 2)', + 'The amount of update cycles to run, in order to fetch as many nodes as possible (default: 3)', default: 3 o.string '--network', - "The name of the network we work in (default: #{Wallet::MAINET}", + "The name of the network we work in (default: #{Wallet::MAINET})", required: true, default: Wallet::MAINET o.bool '--reboot', 'Exit if any node reports version higher than we have', default: false @@ -132,10 +132,10 @@ # **Next actions:** # - Implement the suggestion above. # - Remove note from the --max-nodes option saying that it applies to the select # subcommand only. o.integer '--max-nodes', - "This applies only to the select subcommand. Number of nodes to limit to. Defaults to #{Remotes::MAX_NODES}.", + "Number of nodes to limit to (default: #{Remotes::MAX_NODES})", default: Remotes::MAX_NODES o.bool '--help', 'Print instructions' end mine = Args.new(opts, @log).take || return command = mine[0]