lib/assimilate/command.rb in assimilate-0.2 vs lib/assimilate/command.rb in assimilate-0.2.1
- old
+ new
@@ -29,9 +29,13 @@
end
opts.on("--domain STRING", String, "Domain value to apply to each record") do |s|
@options[:domain] = s
end
+
+ opts.on("--compare FIELDNAME", String, "(*extend* only) Optional field to check whether an update is current (e.g. timestamp)") do |f|
+ @options[:compare] = f
+ end
end
end
def parse(argv = ARGV)
@command = argv.shift