From 01e1c92813a4583ac5a1b11607fca2e518477dfc Mon Sep 17 00:00:00 2001 From: bootstraponline Date: Thu, 24 May 2012 20:45:33 -0600 Subject: [PATCH] Add --base-path option. --- bin/gollum | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/gollum b/bin/gollum index b11de239..f3dd829b 100755 --- a/bin/gollum +++ b/bin/gollum @@ -48,6 +48,10 @@ opts = OptionParser.new do |opts| opts.on("--page-file-dir [PATH]", "Specify the sub directory for all page files (default: repository root).") do |path| wiki_options[:page_file_dir] = path end + + opts.on("--base-path [PATH]", "Specify the base path.") do |path| + wiki_options[:base_path] = path + end opts.on("--ref [REF]", "Specify the repository ref to use (default: master).") do |ref| wiki_options[:ref] = ref