diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-02 20:42:33 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-02 20:51:15 -0700 |
commit | b4c3478b166b1ef982f5d50d9e6746a409e65a15 (patch) | |
tree | 07d63a0cd58086d093ba967c34d497e0fabbe1e6 /lib/helper.c | |
parent | 57089f1d553d206ae43b85060c2b03d9f9367a3c (diff) | |
download | libfuse-b4c3478b166b1ef982f5d50d9e6746a409e65a15.tar.gz |
Add section headings for --help output
Also, do not include "General options" in usage message.
Diffstat (limited to 'lib/helper.c')
-rw-r--r-- | lib/helper.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/helper.c b/lib/helper.c index 7ee767b..309c096 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -59,16 +59,13 @@ static const struct fuse_opt fuse_helper_opts[] = { static void usage(const char *progname) { printf("usage: %s mountpoint [options]\n\n", progname); - printf("general options:\n" - " -o opt,[opt...] mount options\n" - " -h --help print help\n" - " -V --version print version\n" - "\n"); } static void helper_help(void) { - printf("FUSE options:\n" + printf("General options:\n" + " -h --help print help\n" + " -V --version print version\n" " -d -o debug enable debug output (implies -f)\n" " -f foreground operation\n" " -s disable multi-threaded operation\n" |