Skip to content

Commit f3b0fdc

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 57ea818 commit f3b0fdc

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
@@ -66,7 +66,7 @@ task :new_cop, [:cop] do |_task, args|
6666
require 'rubocop'
6767

6868
cop_name = args.fetch(:cop) do
69-
warn 'usage: bundle exec rake new_cop[Department/Name]'
69+
warn "usage: bundle exec rake 'new_cop[Department/Name]'"
7070
exit!
7171
end
7272

0 commit comments

Comments
 (0)