aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
Diffstat (limited to 'railties')
-rw-r--r--railties/lib/rails/commands/application.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/commands/application.rb b/railties/lib/rails/commands/application.rb
index a3a5aed399..47c6752ca3 100644
--- a/railties/lib/rails/commands/application.rb
+++ b/railties/lib/rails/commands/application.rb
@@ -4,7 +4,7 @@ if %w(--version -v).include? ARGV.first
exit(0)
end
-if ARGV.first != "new" || ARGV.empty?
+if ARGV.first != "new"
ARGV[0] = "--help"
else
ARGV.shift