lib/aws/cfn/compiler/mixins/options.rb in aws-cfn-compiler-0.7.0 vs lib/aws/cfn/compiler/mixins/options.rb in aws-cfn-compiler-0.8.0
- old
+ new
@@ -12,18 +12,21 @@
@opts.on :s, :specification=, 'The specification to use when selecting components. A JSON or YAML file', { as: String
}
@opts.on :f, :formatversion=, 'The AWS Template format version. ', {as: String,
default: '2010-09-09'
}
- @opts.on :D, :description=, "The AWS Template description. Default: template name", { as: String }
- @opts.on :p, :precedence=, 'The precedence of template component types. Default: rb,ruby,yaml,yml,json,js', { as: String,
+ @opts.on :D, :description=, 'The AWS Template description. Default: template name', { as: String }
+ @opts.on :p, :parametersfile=, 'The parameters file for the template', { as: String }
+ @opts.on :i, :stackinifile=, 'The INI file for the stack builder == build.py', { as: String }
+ @opts.on :P, :precedence=, 'The precedence of template component types. Default: rb,ruby,yaml,yml,json,js', { as: String,
default: 'rb,ruby,yaml,yml,json,js', }
@opts.parse!
if ARGV.size > 0
puts @opts
- abort! "Extra arguments! #{ARGV}"
+ puts "Extra arguments! #{ARGV}"
+ exit 1
end
end
def set_config_options