aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/commands')
-rw-r--r--railties/lib/commands/plugin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb
index 0cb9b83894..f3bea4ce8f 100644
--- a/railties/lib/commands/plugin.rb
+++ b/railties/lib/commands/plugin.rb
@@ -444,7 +444,7 @@ module Commands
command.parse!(sub)
else
puts "Unknown command: #{command}"
- puts "Try: #{$0} --help"
+ puts options
exit 1
end
end