summaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-10-09 19:32:55 +0200
committerJakob Unterwurzacher2016-10-09 19:32:55 +0200
commit25a8802403de157bdfc39b7860ea4e3ee2b1d8ee (patch)
tree87df610f36f278ebf581e423b4ae80f760a5e2f3 /mount.go
parent17df345103f53c9076fe1311ae459af1c4e7c82a (diff)
main: rename "-o" option to "-ko"
This prevents confusion with the "-o" options that is passed by mount(1) at the end of the command line.
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/mount.go b/mount.go
index 803b09b..47dd192 100644
--- a/mount.go
+++ b/mount.go
@@ -185,9 +185,9 @@ func initFuseFrontend(key []byte, args *argContainer, confFile *configfile.ConfF
}
// Add additional mount options (if any) after the stock ones, so the user has
// a chance to override them.
- if args.o != "" {
- parts := strings.Split(args.o, ",")
- tlog.Debug.Printf("Adding -o mount options: %v", parts)
+ if args.ko != "" {
+ parts := strings.Split(args.ko, ",")
+ tlog.Debug.Printf("Adding -ko mount options: %v", parts)
mOpts.Options = append(mOpts.Options, parts...)
}
srv, err := fuse.NewServer(conn.RawFS(), args.mountpoint, &mOpts)