bin/steam.rb in locomotivecms_steam-1.0.0.pre.alpha vs bin/steam.rb in locomotivecms_steam-1.0.0.pre.alpha.1
- old
+ new
@@ -20,10 +20,10 @@
OptionParser.new do |opts|
opts.banner = 'Usage: steam.rb [options]'
# Filesystem adapter
- opts.on('-p', '--path PATH', 'Serve a Wagon site from a path in your filesystem') do |path|
+ opts.on('--path PATH', 'Serve a Wagon site from a path in your filesystem') do |path|
options[:adapter][:path] = File.expand_path(path)
options[:asset_path] = File.expand_path(File.join(path, 'public'))
options[:database] = options[:hosts] = nil
end