./pimki.rb in Pimki-1.0.092 vs ./pimki.rb in Pimki-1.1.092
- old
+ new
@@ -42,11 +42,11 @@
end
OPTIONS = {
:server_type => fork_available ? Daemon : SimpleServer,
:port => 2500,
- :storage => "#{cdir}/storage",
+ :storage => "#{Dir.pwd}/storage",
:pdflatex => pdflatex_available
}
ARGV.options do |opts|
script_name = File.basename($0)
@@ -60,10 +60,10 @@
opts.on("-s", "--simple", "--simple-server",
"Forces Instiki not to run as a Daemon if fork is available."
) { OPTIONS[:server_type] = SimpleServer }
opts.on("-t", "--storage=storage", String,
"Makes Instiki use the specified directory for storage.",
- "Default: ./storage/[port]") { |OPTIONS[:storage]| }
+ "Default: [cwd]/storage/[port]") { |OPTIONS[:storage]| }
opts.separator ""
opts.on("-h", "--help",
"Show this help message.") { puts opts; exit }
\ No newline at end of file