From 04392a73286e17af7508e887747181638fb0dd43 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Tue, 8 Jan 2019 17:00:36 +0000 Subject: [PATCH] feat: quick docs update License: MIT Signed-off-by: Henrique Dias Former-commit-id: 24d7ca4ba681ae4395cb23620fb92c19fad79279 [formerly f22f42daaaa18cea22f1a5c15544568d3c7bbb2a] [formerly 04e6ddffc5371fba2dfa1c0322326ed9b28ee73a [formerly 66010d877eb68f841cf81bb7567ae909e8a30bfd]] Former-commit-id: 10e7edbfb312764a8ba335a10aab2ca26392db47 [formerly d2fa614d1938fb18644957728634808b1d4acf5d] Former-commit-id: 65727295e4f0e3758d235e08dd62cbf737b5904a --- cmd/root.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index fd64b771..c9c9f7d1 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -116,15 +116,15 @@ If you don't set "config", it will look for a configuration file called The precedence of the configuration values are as follows: -- flag -- environment variable +- flags +- environment variables - configuration file - database values - defaults The environment variables are prefixed by "FB_" followed by the option name in caps. So to set "database" via an env variable, you should -set FB_DATABASE equals to the path. +set FB_DATABASE. Also, if the database path doesn't exist, File Browser will enter into the quick setup mode and a new database will be bootstraped and a new