From 25a8802403de157bdfc39b7860ea4e3ee2b1d8ee Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 9 Oct 2016 19:32:55 +0200 Subject: 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. --- mount.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mount.go') 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) -- cgit v1.2.3