lib/zold/commands/create.rb in zold-0.13.34 vs lib/zold/commands/create.rb in zold-0.13.35

- old
+ new

@@ -44,12 +44,12 @@ o.string '--public-key', 'The location of RSA public key (default: ~/.ssh/id_rsa.pub)', require: true, default: '~/.ssh/id_rsa.pub' o.string '--network', - 'The name of the network', + "The name of the network (default: #{Wallet::MAIN_NETWORK}", require: true, - default: 'zold' + default: Wallet::MAIN_NETWORK o.bool '--help', 'Print instructions' end mine = Args.new(opts, @log).take || return create(mine.empty? ? Id.new : Id.new(mine[0]), opts) end