aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-11-01 18:30:00 +0100
committerJakob Unterwurzacher2016-11-01 18:30:00 +0100
commit8ce735e987293cb44892f1010292ed271a2a26d3 (patch)
treef96ad4925551ea2e6d80a31e6e6f5615de45ff24
parent75b776cb3dd4cfb16c518e1ebd1447440989d847 (diff)
main: print "args" slightly prettier
-rw-r--r--mount.go3
1 files changed, 2 insertions, 1 deletions
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