Skip to content

Commit fe05da7

Browse files
committed
Change command for the rake task with arguments to a style that can also be used in zsh
Follow up: rubocop/rubocop#10695
1 parent 46736e5 commit fe05da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ task :new_cop, [:cop] do |_task, args|
4747
require 'rubocop'
4848

4949
cop_name = args.fetch(:cop) do
50-
warn 'usage: bundle exec rake new_cop[Rails/Name]'
50+
warn "usage: bundle exec rake 'new_cop[Rails/Name]'"
5151
exit!
5252
end
5353

0 commit comments

Comments
 (0)