lib/rzo/option_parsing.rb in rzo-0.7.0 vs lib/rzo/option_parsing.rb in rzo-0.8.0

- old
+ new

@@ -64,11 +64,11 @@ opt :verbose, 'Set log level to INFO {RZO_VERBOSE="true"}', default: env['RZO_VERBOSE'] == 'true' opt :debug, 'Set log level to DEBUG {RZO_DEBUG="true"}', default: env['RZO_DEBUG'] == 'true' opt :config, 'Rizzo config file {RZO_CONFIG}', - default: env['RZO_CONFIG'] || '~/.rizzo.json' + default: env['RZO_CONFIG'] || '~/.rizzo.yaml' end end # rubocop:enable Metrics/MethodLength, Metrics/AbcSize ## @@ -121,13 +121,14 @@ # rubocop:disable Layout/IndentHeredoc BANNER = <<-BANNERMSG.freeze usage: #{NAME} [GLOBAL OPTIONS] SUBCOMMAND [ARGS] Sub Commands: - config Print out the combined rizzo json config + config Print out the combined rizzo yaml config generate Initialize Vagrantfile in top control repo roles Output all roles defined in the combined config Global options: (Note, command line arguments supersede ENV vars in {}'s) BANNERMSG + # rubocop:enable Layout/IndentHeredoc end end