From 735e74a858c168cf30342c70d66be122a19a3fa9 Mon Sep 17 00:00:00 2001 From: Michael Lawson Date: Thu, 5 Apr 2018 22:24:32 +0100 Subject: [PATCH] Fix typo preventing "--allow-edit" from being set (#392) Former-commit-id: 3762a51ff4883a37b27ba5f859c0633f46d9d7f6 [formerly e125c2f788f5c04c4546ddfc6d86fff1d6624142] [formerly 2d696d4c1857621a9f8ae8c0637a5f43d783c2a5 [formerly 54d0845212bac4123ab5377447078bea07142765]] Former-commit-id: b063d159d13c5024b79d7dd7bbb5770732efd7e7 [formerly d75479c0c17ca461e36930501ee415a4b8863319] Former-commit-id: b4a1f4516594d07ff22894384713b0fcb5ba15d8 --- cmd/filebrowser/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/filebrowser/main.go b/cmd/filebrowser/main.go index d2c06957..b8b32272 100644 --- a/cmd/filebrowser/main.go +++ b/cmd/filebrowser/main.go @@ -100,7 +100,7 @@ func setupViper() { viper.BindPFlag("Commands", flag.Lookup("commands")) viper.BindPFlag("AllowCommands", flag.Lookup("allow-commands")) viper.BindPFlag("AllowEdit", flag.Lookup("allow-edit")) - viper.BindPFlag("AlowNew", flag.Lookup("allow-new")) + viper.BindPFlag("AllowNew", flag.Lookup("allow-new")) viper.BindPFlag("AllowPublish", flag.Lookup("allow-publish")) viper.BindPFlag("Locale", flag.Lookup("locale")) viper.BindPFlag("StaticGen", flag.Lookup("staticgen"))