summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-09-16 19:32:37 +0200
committerJakob Unterwurzacher2015-09-16 19:32:37 +0200
commit0af3cfcac0d6e5515ac37ee02712178218205a18 (patch)
treeb37c67f573b9164a05ddd821449dc0353893e2f8 /main.go
parent3a2610a141b3afb96050b8dc4f7262939d563133 (diff)
Fix symlink size reporting
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.go b/main.go
index 4563b9c..30deb1e 100644
--- a/main.go
+++ b/main.go
@@ -64,10 +64,10 @@ func initDir(dirArg string) {
func main() {
// Parse command line arguments
- var debug bool
- var init bool
- var zerokey bool
+ var debug, init, zerokey, fusedebug bool
+
flag.BoolVar(&debug, "debug", false, "Enable debug output")
+ flag.BoolVar(&fusedebug, "fusedebug", false, "Enable fuse library debug output")
flag.BoolVar(&init, "init", false, "Initialize encrypted directory")
flag.BoolVar(&zerokey, "zerokey", false, "Use all-zero dummy master key")
flag.Parse()
@@ -123,7 +123,7 @@ func main() {
if USE_CLUEFS {
cluefsFrontend(key, cipherdir, mountpoint)
} else {
- pathfsFrontend(key, cipherdir, mountpoint, debug)
+ pathfsFrontend(key, cipherdir, mountpoint, fusedebug)
}
}