diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/helper.c b/lib/helper.c index c57edb1..cc5cefc 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -202,6 +202,9 @@ int fuse_main_real(int argc, char *argv[], const struct fuse_operations *op, /* Re-add --help for later processing by fuse_new() (that way we also get help for modules options) */ if (opts.show_help) { + if(args.argv[0] != '\0') + printf("usage: %s [options] <mountpoint>\n\n", + args.argv[0]); fuse_cmdline_help(); if (fuse_opt_add_arg(&args, "--help") == -1) { res = 1; |