From 10b45cb54da6e98f2827aa4d4265c80d8d067b30 Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Mon, 22 Dec 2014 20:20:57 +0100 Subject: [PATCH] Add --bare command line option (see #811). --- bin/gollum | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/gollum b/bin/gollum index 9a5f32cc..7e1a6e63 100755 --- a/bin/gollum +++ b/bin/gollum @@ -81,6 +81,10 @@ opts = OptionParser.new do |opts| wiki_options[:ref] = ref end + opts.on("--bare", "Specify that the repository is bare (only necessary when using the grit adapter).") do + wiki_options[:repo_is_bare] = true + end + opts.on("--no-edit", "Restricts editing capability through frontend.") do wiki_options[:allow_editing] = false end