aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sshfs.c b/sshfs.c
index cbc0c79..a20f727 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -3884,11 +3884,7 @@ int main(int argc, char *argv[])
if (sshfs.show_help) {
usage(args.argv[0]);
- /* Re-add --help */
- if (fuse_opt_add_arg(&args, "--help") == -1)
- exit(1);
- /* Print FUSE help text */
- assert(fuse_new(&args, NULL, 0, NULL) == NULL);
+ fuse_lib_help(&args);
exit(0);
} else if (!sshfs.host) {
fprintf(stderr, "missing host\n");