Skip to content

Commit da17bd2

Browse files
committed
update arg name
1 parent 76ecba9 commit da17bd2

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/CLI/command.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ class Command
1313
desc 'Generate a Java checkstyle suppressions.xml file from a checkstyle:check output.'
1414
end
1515

16-
argument :checkstyle_output do
17-
name 'checkstyle_output(String)'
16+
argument :checkstyle_output_file do
17+
name 'checkstyle_output_file(String)'
1818
arity one
1919
desc 'Output from checkstyle:check goal'
2020
end
@@ -44,9 +44,7 @@ def run
4444
private
4545

4646
def execute_command
47-
puts params[:checkstyle_output]
48-
puts params[:o]
49-
SuppressionGenerator.new(params[:checkstyle_output], params[:o]).generate
47+
SuppressionGenerator.new(params[:checkstyle_output_file], params[:o]).generate
5048
end
5149
end
5250
end

0 commit comments

Comments
 (0)