Skip to content

Commit

Permalink
Change command for the rake task with arguments to a style that can a…
Browse files Browse the repository at this point in the history
…lso be used in zsh

Follow up: rubocop/rubocop#10695
  • Loading branch information
ydah committed Jun 17, 2022
1 parent fd8c7e3 commit 265caa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ task :new_cop, [:cop] do |_task, args|
require 'rubocop'

cop_name = args.fetch(:cop) do
warn 'usage: bundle exec rake new_cop[Department/Name]'
warn "usage: bundle exec rake 'new_cop[Department/Name]'"
exit!
end

Expand Down

0 comments on commit 265caa9

Please sign in to comment.