Suggest running discourse not script/discourse (#5089)

Having `discourse restore` offer copy/paste of backups is awesome, but doesn't work (rails won't load) if you call script/discourse.
This commit is contained in:
Jay Pfaffman 2017-08-28 09:59:56 -07:00 committed by Sam
parent fd2cd63b08
commit 657e5a8633
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class DiscourseCLI < Thor
puts "You must provide a filename to restore. Did you mean one of the following?\n\n"
Dir["public/backups/default/*"].each do |f|
puts "script/discourse restore #{File.basename(f)}"
puts "discourse restore #{File.basename(f)}"
end
return