aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_lowlevel.c
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-15 19:46:57 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-15 19:46:57 -0700
commitb16650830d69cbe2d13e74c4318757c15f2c552f (patch)
treeeb2972d1d46aeed0bba411a02b8f523c7e21a8c2 /lib/fuse_lowlevel.c
parentb46250c40e29a23d37fe8fdadd6ef0d4cfe8b897 (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/fuse_lowlevel.c')
-rw-r--r--lib/fuse_lowlevel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 736cec6..92e0ea3 100644
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -2531,6 +2531,12 @@ void fuse_lowlevel_version(void)
{
printf("using FUSE kernel interface version %i.%i\n",
FUSE_KERNEL_VERSION, FUSE_KERNEL_MINOR_VERSION);
+ fuse_mount_version();
+}
+
+void fuse_lowlevel_help(void)
+{
+ fuse_mount_help();
}
void fuse_session_destroy(struct fuse_session *se)