bin/validate-schema in json_schema-0.18.0 vs bin/validate-schema in json_schema-0.19.0
- old
+ new
@@ -19,9 +19,12 @@
map { |f| File.expand_path(f, __FILE__ + "/../../schemas") }
end
opts.on("-s", "--schema SCHEMA", "Additional schema to use for references") do |s|
command.extra_schemas << s
end
+ opts.on("-f", "--fail-fast", "Abort after encountering the first validation error") do |s|
+ command.fail_fast = true
+ end
}
if $0 == __FILE__
parser.parse!
success = command.run(ARGV.dup)