diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-15 19:46:57 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-15 19:46:57 -0700 |
commit | b16650830d69cbe2d13e74c4318757c15f2c552f (patch) | |
tree | eb2972d1d46aeed0bba411a02b8f523c7e21a8c2 /lib/mount.c | |
parent | b46250c40e29a23d37fe8fdadd6ef0d4cfe8b897 (diff) |
Make --help output more suitable for end-user
We now only list options that are potentially useful for an
end-user (and unlikely to accidentally break a file system). The full
list of FUSE options has been moved to the documentation of the
fuse_new() and fuse_session_new() functions.
Diffstat (limited to 'lib/mount.c')
-rw-r--r-- | lib/mount.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/mount.c b/lib/mount.c index faac1ea..c00367f 100644 --- a/lib/mount.c +++ b/lib/mount.c @@ -117,15 +117,12 @@ static const struct fuse_opt fuse_mount_opts[] = { void fuse_mount_help(void) { + /* These are not all options, but the ones that are + potentially of interest to an end-user */ printf( -"FUSE-specific mount options:\n" " -o allow_other allow access to other users\n" " -o allow_root allow access to root\n" -" -o auto_unmount auto unmount on process termination\n" -" -o default_permissions enable permission checking by kernel\n" -" -o fsname=NAME set filesystem name\n" -" -o subtype=NAME set filesystem type\n" -" -o max_read=N set maximum size of read requests\n\n"); +" -o auto_unmount auto unmount on process termination\n"); } static void exec_fusermount(const char *argv[]) |