From b4c3478b166b1ef982f5d50d9e6746a409e65a15 Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sun, 2 Oct 2016 20:42:33 -0700 Subject: Add section headings for --help output Also, do not include "General options" in usage message. --- lib/mount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/mount.c') 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[]) -- cgit v1.2.3