aboutsummaryrefslogtreecommitdiff
path: root/lib/mount.c
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-02 20:42:33 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-02 20:51:15 -0700
commitb4c3478b166b1ef982f5d50d9e6746a409e65a15 (patch)
tree07d63a0cd58086d093ba967c34d497e0fabbe1e6 /lib/mount.c
parent57089f1d553d206ae43b85060c2b03d9f9367a3c (diff)
Add section headings for --help output
Also, do not include "General options" in usage message.
Diffstat (limited to 'lib/mount.c')
-rw-r--r--lib/mount.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mount.c b/lib/mount.c
index fb17c00..d7f4bdd 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -121,6 +121,7 @@ static const struct fuse_opt fuse_mount_opts[] = {
void fuse_mount_help(void)
{
printf(
+"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"
@@ -129,8 +130,7 @@ void fuse_mount_help(void)
" -o fsname=NAME set filesystem name\n"
" -o subtype=NAME set filesystem type\n"
" -o large_read issue large read requests (2.4 only)\n"
-" -o max_read=N set maximum size of read requests\n"
-"\n");
+" -o max_read=N set maximum size of read requests\n\n");
}
static void exec_fusermount(const char *argv[])