From b16650830d69cbe2d13e74c4318757c15f2c552f Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sat, 15 Oct 2016 19:46:57 -0700 Subject: 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. --- lib/mount.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib/mount.c') 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[]) -- cgit v1.2.3