Skip to content

Commit

Permalink
feat(ameba): Lint/UnusedArgument: Unused argument p. If it's necess…
Browse files Browse the repository at this point in the history
…ary, use `_` as an argument name to indicate that it won't be used.
  • Loading branch information
JadeKharats committed Oct 4, 2018
1 parent 391b1cc commit 26994e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coverage/inject/cli.cr
Expand Up @@ -11,7 +11,7 @@ module Coverage
OptionParser.parse! do |parser|
parser.banner = "Usage: crystal-cover [options] <filename>"
parser.on("-o FORMAT", "--output-format=FORMAT", "The output format used (default: HtmlReport): HtmlReport, Coveralls ") { |f| output_format = f }
parser.on("-p", "--print-only", "output the generated source code") { |p| print_only = true }
parser.on("-p", "--print-only", "output the generated source code") { |_p| print_only = true }
parser.on("--use-require=REQUIRE", "change the require of cover library in runtime") { |r| Coverage::SourceFile.use_require = r }
parser.unknown_args do |args|
args.each do
Expand Down

0 comments on commit 26994e7

Please sign in to comment.