main: print "args" slightly prettier

This commit is contained in:
Jakob Unterwurzacher 2016-11-01 18:30:00 +01:00
parent 75b776cb3d
commit 8ce735e987
1 changed files with 2 additions and 1 deletions

View File

@ -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