mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Improve script/generate help.
This commit is contained in:
parent
e1029be1eb
commit
93d64dfefc
1 changed files with 11 additions and 1 deletions
|
@ -179,7 +179,17 @@ module Rails
|
|||
groups[base] << namespace
|
||||
end
|
||||
|
||||
puts "Please select a generator:"
|
||||
puts "Usage:"
|
||||
puts " script/generate GENERATOR [args] [options]"
|
||||
puts
|
||||
puts "General options:"
|
||||
puts " -h, [--help] # Print generators options and usage"
|
||||
puts " -p, [--pretend] # Run but do not make any changes"
|
||||
puts " -f, [--force] # Overwrite files that already exist"
|
||||
puts " -s, [--skip] # Skip files that already exist"
|
||||
puts " -q, [--quiet] # Supress status output"
|
||||
puts
|
||||
puts "Please choose a generator below."
|
||||
puts
|
||||
|
||||
# Print Rails defaults first.
|
||||
|
|
Loading…
Reference in a new issue