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 raise <<~MSG
Wrong arguments type:#{type.inspect}, value:#{value.inspect}" Wrong arguments type:#{type.inspect}, value:#{value.inspect}"
Usage: Usage:
`bundle exec rake themes:unit[url,<theme_url>]` `bundle exec rake "themes:qunit[url,<theme_url>]"`
OR OR
`bundle exec rake themes:unit[name,<theme_name>]` `bundle exec rake "themes:qunit[name,<theme_name>]"`
OR OR
`bundle exec rake themes:unit[id,<theme_id>]` `bundle exec rake "themes:qunit[id,<theme_id>]"`
MSG MSG
end end
ENV["THEME_#{type.upcase}"] = value.to_s ENV["THEME_#{type.upcase}"] = value.to_s