Add --show-all

--show-all will show all files in file view (not just valid pages). Default is false.
This commit is contained in:
bootstraponline
2012-10-22 19:03:21 -06:00
parent a9807bd1e1
commit fbc0548b43
5 changed files with 32 additions and 3 deletions
+4
View File
@@ -68,6 +68,10 @@ opts = OptionParser.new do |opts|
opts.on("--mathjax", "Enables mathjax.") do
wiki_options[:mathjax] = true
end
opts.on("--show-all", "Shows all files in file view. By default only valid pages are shown.") do
wiki_options[:show_all] = true
end
end
# Read command line options into `options` hash