bin/annotate in annotate-2.7.4 vs bin/annotate in annotate-2.7.5
- old
+ new
@@ -168,9 +168,13 @@
opts.on('--force', 'Force new annotations even if there are no changes.') do |force|
ENV['force'] = 'yes'
end
+ opts.on('--frozen', 'Do not allow to change annotations. Exits non-zero if there are going to be changes to files.') do
+ ENV['frozen'] = 'yes'
+ end
+
opts.on('--timestamp', 'Include timestamp in (routes) annotation') do
ENV['timestamp'] = 'true'
end
opts.on('--trace', 'If unable to annotate a file, print the full stack trace, not just the exception message.') do |value|