From 82e899fb21c116fa8303cabbc10d68bfa06fc89f Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Sat, 8 Jul 2017 12:26:45 +0200 Subject: Switch to libfuse 3.1.0 libfuse 3.0.0 is rather new and not widely used yet, so requiring libfuse 3.1.0 right away shouldn't be a problem. --- sshfs.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sshfs.c') 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"); -- cgit v1.2.3