diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-07-08 12:26:45 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-07-08 12:26:45 +0200 |
commit | 82e899fb21c116fa8303cabbc10d68bfa06fc89f (patch) | |
tree | 52c3883ca6144aca3c515b92fb86eddce82b5775 /sshfs.c | |
parent | 34146444ce20c477cba7e9fe113e4387da32ae94 (diff) | |
download | sshfs-82e899fb21c116fa8303cabbc10d68bfa06fc89f.tar sshfs-82e899fb21c116fa8303cabbc10d68bfa06fc89f.tar.gz sshfs-82e899fb21c116fa8303cabbc10d68bfa06fc89f.tar.bz2 sshfs-82e899fb21c116fa8303cabbc10d68bfa06fc89f.zip |
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.
Diffstat (limited to 'sshfs.c')
-rw-r--r-- | sshfs.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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"); |