aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mount.c
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-10-16 14:28:47 -0700
committerNikolaus Rath <Nikolaus@rath.org>2016-10-16 14:28:47 -0700
commit199fc0f8335af5487edb243c05a662b60e311463 (patch)
tree3e11321c3c17b145f54410b8543fe64284d3ca23 /lib/mount.c
parentc8429618ad7dbe9e3c9345db10b3a156ca9dcf72 (diff)
downloadlibfuse-199fc0f8335af5487edb243c05a662b60e311463.tar.gz
Inlined fuse_mount_help() into fuse_lowlevel_help().
Both the BSD and Linux implementation actually accept mostly the same FUSE-specific mount options. Up to now, the BSD help function appended the output of ``mount_fusefs --help``, but looking at http://www.unix.com/man-page/freebsd/8/mount_fusefs/ this is likely more confusing than helpful (since the user is not actually invoking mount_fusefs directly, most of the options don't make sense).
Diffstat (limited to 'lib/mount.c')
-rw-r--r--lib/mount.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/mount.c b/lib/mount.c
index c00367f..051b424 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -115,16 +115,6 @@ static const struct fuse_opt fuse_mount_opts[] = {
FUSE_OPT_END
};
-void fuse_mount_help(void)
-{
- /* These are not all options, but the ones that are
- potentially of interest to an end-user */
- printf(
-" -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");
-}
-
static void exec_fusermount(const char *argv[])
{
execv(FUSERMOUNT_DIR "/" FUSERMOUNT_PROG, (char **) argv);