From 8ce735e987293cb44892f1010292ed271a2a26d3 Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 1 Nov 2016 18:30:00 +0100 Subject: main: print "args" slightly prettier --- mount.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mount.go b/mount.go index 37f179a..b0f41eb 100644 --- a/mount.go +++ b/mount.go @@ -67,8 +67,9 @@ func doMount(args *argContainer) int { masterkey, confFile = loadConfig(args) printMasterKey(masterkey) } + // We cannot use JSON for pretty-printing as the fields are unexported + tlog.Debug.Printf("cli args: %#v", args) // Initialize FUSE server - tlog.Debug.Printf("cli args: %v", args) srv := initFuseFrontend(masterkey, args, confFile) tlog.Info.Println(tlog.ColorGreen + "Filesystem mounted and ready." + tlog.ColorReset) // We have been forked into the background, as evidenced by the set -- cgit v1.2.3