Permalink
Browse files

Raise error if no config file is passed to --config

  • Loading branch information...
parkr committed Jan 2, 2013
1 parent 30acc87 commit daf33e5a6b8ad765aa11e0898382f91e44148727
Showing with 1 addition and 0 deletions.
  1. +1 −0 bin/jekyll
View
@@ -51,6 +51,7 @@ opts = OptionParser.new do |opts|
opts.on("--config [PATH]", "custom configuration file" ) do |config_file|
+ raise "You must specify a config file." if config_file.to_s.empty?
options['config'] = config_file
end

0 comments on commit daf33e5

Please sign in to comment.