Clarified documentation in import_storage script

This commit is contained in:
Alexey Verkhovsky 2005-11-01 14:44:06 +00:00
parent d3b25c8a19
commit e1d7b26be2

View file

@ -25,8 +25,8 @@ ARGV.options do |opts|
opts.separator "" opts.separator ""
opts.on("-i", "--instiki /full/path/to/instiki", String, opts.on("-i", "--instiki /full/path/to/instiki", String,
"Full path to your Instiki installation, ", "Full path to your Instiki 0.10 installation, ",
"such as /home/joe/instiki") do |instiki| "such as /home/joe/instiki-0.10.2") do |instiki|
OPTIONS[:instiki] = instiki OPTIONS[:instiki] = instiki
end end
@ -54,7 +54,7 @@ ARGV.options do |opts|
end end
if OPTIONS[:instiki].nil? or OPTIONS[:storage].nil? or OPTIONS[:outfile].nil? if OPTIONS[:instiki].nil? or OPTIONS[:storage].nil? or OPTIONS[:outfile].nil?
$stderr.puts "Please specify full paths to Instiki installation and storage," $stderr.puts "Please specify full paths to Instiki 0.10 installation and storage,"
$stderr.puts "as well as the path to the output file" $stderr.puts "as well as the path to the output file"
$stderr.puts $stderr.puts
puts ARGV.options puts ARGV.options