Permalink
Browse files

Running 'daemon-kit' without argument should display help

  • Loading branch information...
1 parent cf42ea8 commit ffbf8ab35ef80c62560e30edfb0292fa53f016cb @kennethkalmer committed Sep 11, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/daemon-kit
View
@@ -12,6 +12,10 @@ if %w(-v --version).include? ARGV.first
exit(0)
end
+if ARGV.empty?
+ ARGV.push '--help'
+end
+
require 'daemon_kit/generators'
require 'generators/daemon_kit/app/app_generator'

0 comments on commit ffbf8ab

Please sign in to comment.