Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Moved --config block to below importer switches

  • Loading branch information...
commit 30acc8781b5669b3e3eb1b39c8f8954b42af20af 1 parent b15c0cd
@parkr parkr authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 bin/jekyll
View
10 bin/jekyll
@@ -25,10 +25,6 @@ options = {}
opts = OptionParser.new do |opts|
opts.banner = help
- opts.on("--config [PATH]", "custom configuration file" ) do |config_file|
- options['config'] = config_file
- end
-
opts.on("--file [PATH]", "File to import from") do |import_file|
options['file'] = import_file
end
@@ -52,7 +48,11 @@ opts = OptionParser.new do |opts|
opts.on("--site [SITE NAME]", "Site to import from") do |import_site|
options['site'] = import_site
end
-
+
+
+ opts.on("--config [PATH]", "custom configuration file" ) do |config_file|
+ options['config'] = config_file
+ end
opts.on("--[no-]safe", "Safe mode (default unsafe)") do |safe|
options['safe'] = safe
Please sign in to comment.
Something went wrong with that request. Please try again.