lib/inch/cli/command/options/list.rb in inch-0.4.10 vs lib/inch/cli/command/options/list.rb in inch-0.5.0.rc1
- old
+ new
@@ -6,22 +6,21 @@
attribute :numbers, false
def descriptions
[
"",
- "Lists objects that can be improved regarding their " \
- "documentation ordered by their grade.",
+ "Lists objects that can be improved regarding their documentation ordered by their grade.",
"",
"Example: " + "$ inch list lib/**/*.rb --all".color(:cyan),
"",
description_hint_grades,
description_hint_arrows
]
end
def list_options(opts)
super
- opts.on("--numbers", "Show numbers instead of grades and arrows") do
+ opts.on("--numbers", "Show numbers instead of grades and arrows") do |depth|
@numbers = true
end
end
end
end