lib/gistory/cli/main.rb in gistory-0.1.4 vs lib/gistory/cli/main.rb in gistory-0.1.5
- old
+ new
@@ -36,9 +36,13 @@
@io.puts 'Change history:'
changes.each do |change|
@io.puts "#{change.version} on #{change.date.strftime('%a, %e %b %Y %H:%M %Z')} (commit #{change.short_hash})"
end
+
+ @io.puts ''
+ max = Gistory.config.max_lockfile_changes
+ @io.puts "The last #{max} changes to the lock file were taken into account, to see farther in the past use the -m switch" # rubocop:disable Metrics/LineLength
end
end
end
end