提交 7a090b02 编写于 作者: R Raphomet 提交者: Santiago Pastorino

Trifling typos

Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
上级 82e389ed
...@@ -54,14 +54,14 @@ class << o; @x = 1; end ...@@ -54,14 +54,14 @@ class << o; @x = 1; end
end end
end end
class KernelSupressTest < Test::Unit::TestCase class KernelSuppressTest < Test::Unit::TestCase
def test_reraise def test_reraise
assert_raise(LoadError) do assert_raise(LoadError) do
suppress(ArgumentError) { raise LoadError } suppress(ArgumentError) { raise LoadError }
end end
end end
def test_supression def test_suppression
suppress(ArgumentError) { raise ArgumentError } suppress(ArgumentError) { raise ArgumentError }
suppress(LoadError) { raise LoadError } suppress(LoadError) { raise LoadError }
suppress(LoadError, ArgumentError) { raise LoadError } suppress(LoadError, ArgumentError) { raise LoadError }
......
...@@ -375,7 +375,7 @@ def options ...@@ -375,7 +375,7 @@ def options
"Enables updating but does not add a svn:externals entry.") { |v| @method = :checkout } "Enables updating but does not add a svn:externals entry.") { |v| @method = :checkout }
o.on( "-e", "--export", o.on( "-e", "--export",
"Use svn export to grab the plugin.", "Use svn export to grab the plugin.",
"Exports the plugin, allowing you to check it into your local repository. Does not enable updates, or add an svn:externals entry.") { |v| @method = :export } "Exports the plugin, allowing you to check it into your local repository. Does not enable updates or add an svn:externals entry.") { |v| @method = :export }
o.on( "-q", "--quiet", o.on( "-q", "--quiet",
"Suppresses the output from installation.", "Suppresses the output from installation.",
"Ignored if -v is passed (rails plugin -v install ...)") { |v| @options[:quiet] = true } "Ignored if -v is passed (rails plugin -v install ...)") { |v| @options[:quiet] = true }
......
...@@ -218,11 +218,11 @@ def self.help(command = 'generate') ...@@ -218,11 +218,11 @@ def self.help(command = 'generate')
puts "Usage: rails #{command} GENERATOR [args] [options]" puts "Usage: rails #{command} GENERATOR [args] [options]"
puts puts
puts "General options:" puts "General options:"
puts " -h, [--help] # Print generators options and usage" puts " -h, [--help] # Print generator's options and usage"
puts " -p, [--pretend] # Run but do not make any changes" puts " -p, [--pretend] # Run but do not make any changes"
puts " -f, [--force] # Overwrite files that already exist" puts " -f, [--force] # Overwrite files that already exist"
puts " -s, [--skip] # Skip files that already exist" puts " -s, [--skip] # Skip files that already exist"
puts " -q, [--quiet] # Supress status output" puts " -q, [--quiet] # Suppress status output"
puts puts
puts "Please choose a generator below." puts "Please choose a generator below."
puts puts
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册