lib/inch/cli/command/output/list.rb in inch-0.1.3 vs lib/inch/cli/command/output/list.rb in inch-0.1.4
- old
+ new
@@ -35,10 +35,10 @@
"Use `--all` to display all objects.".dark
end
end
def display_range(range)
- display_count = @options.full ? range.objects.size : PER_RANGE
+ display_count = @options.show_all? ? range.objects.size : PER_RANGE
list = range.objects[0...display_count]
list.each do |o|
echo range.color, result(o, range.color)
end