aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--src/bindfs.14
-rw-r--r--src/bindfs.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 3613585..4f7b1a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-02-04 Martin Pärtel <martin dot partel at gmail dot com>
+
+ * Deprecated -n as an alias to --no-allow-other (issue #48).
+
2017-01-29 Martin Pärtel <martin dot partel at gmail dot com>
* Fixed option parsing failure when source dir has a comma (issue #47).
diff --git a/src/bindfs.1 b/src/bindfs.1
index f74cfc8..121c8ab 100644
--- a/src/bindfs.1
+++ b/src/bindfs.1
@@ -289,10 +289,12 @@ Displays a help message and exits.
Displays version information and exits.
.TP
-.B \-n, \-\-no\-allow\-other, \-o no\-allow\-other
+.B \-\-no\-allow\-other, \-o no\-allow\-other
Does not add \fB\-o allow_other\fP to FUSE options.
This causes the mount to be accessible only by the current user.
+(The deprecated shorthand \fB\-n\fP is also still accepted.)
+
.TP
.B \-\-realistic\-permissions, \-o realistic\-permissions
Hides read/write/execute permissions for a mirrored file when the mounter
diff --git a/src/bindfs.c b/src/bindfs.c
index c87b3d8..b38e598 100644
--- a/src/bindfs.c
+++ b/src/bindfs.c
@@ -1424,7 +1424,7 @@ static void print_usage(const char *progname)
" --write-rate=... Limit to bytes/sec that can be written.\n"
"\n"
"Miscellaneous:\n"
- " -n --no-allow-other Do not add -o allow_other to fuse options.\n"
+ " --no-allow-other Do not add -o allow_other to fuse options.\n"
" --realistic-permissions Hide permission bits for actions mounter can't do.\n"
" --ctime-from-mtime Read file properties' change time\n"
" from file content modification time.\n"