summaryrefslogtreecommitdiff
path: root/cli_args.go
diff options
context:
space:
mode:
Diffstat (limited to 'cli_args.go')
-rw-r--r--cli_args.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli_args.go b/cli_args.go
index c434abb..f1cefb4 100644
--- a/cli_args.go
+++ b/cli_args.go
@@ -212,6 +212,9 @@ func parseCliOpts() (args argContainer) {
flagSet.DurationVar(&args.idle, "idle", 0, "Auto-unmount after specified idle duration (ignored in reverse mode). "+
"Durations are specified like \"500s\" or \"2h45m\". 0 means stay mounted indefinitely.")
+ var nofail bool
+ flagSet.BoolVar(&nofail, "nofail", false, "Ignored for /etc/fstab compatibility")
+
var dummyString string
flagSet.StringVar(&dummyString, "o", "", "For compatibility with mount(1), options can be also passed as a comma-separated list to -o on the end.")
// Actual parsing