Permalink
Browse files

allow --help in runner

  • Loading branch information...
1 parent ba07088 commit bf8ce4e7e5df98ab280584fd1d2b2b54b3b6b750 @igrigorik committed Mar 31, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/mneme
View
@@ -5,7 +5,7 @@ begin
ARGV[config_index] = File.absolute_path(ARGV[config_index])
rescue
puts "Please specify a valid mneme configuration file (ex: -c config.rb)"
- exit
+ exit if !(ARGV.index('-h') || ARGV.index('--config'))
end
system("/usr/bin/env ruby " + File.dirname(__FILE__) + '/../lib/mneme.rb' + ' ' + ARGV.join(" "))

0 comments on commit bf8ce4e

Please sign in to comment.