DEV: Correct theme:qunit help text (#13104)

- Task name is themes:qunit, not themes:unit
- Some shells try to expand the square brackets. The whole thing should be enclosed in quotes to avoid this
This commit is contained in:
David Taylor 2021-05-20 22:30:12 +01:00 committed by GitHub
parent 29f3621f45
commit bd8c2b4615
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -106,11 +106,11 @@ task "themes:qunit", :type, :value do |t, args|
raise <<~MSG
Wrong arguments type:#{type.inspect}, value:#{value.inspect}"
Usage:
`bundle exec rake themes:unit[url,<theme_url>]`
`bundle exec rake "themes:qunit[url,<theme_url>]"`
OR
`bundle exec rake themes:unit[name,<theme_name>]`
`bundle exec rake "themes:qunit[name,<theme_name>]"`
OR
`bundle exec rake themes:unit[id,<theme_id>]`
`bundle exec rake "themes:qunit[id,<theme_id>]"`
MSG
end
ENV["THEME_#{type.upcase}"] = value.to_s