diff options
Diffstat (limited to 'example/passthrough_ll.c')
-rw-r--r-- | example/passthrough_ll.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/example/passthrough_ll.c b/example/passthrough_ll.c index db4a3f3..4091395 100644 --- a/example/passthrough_ll.c +++ b/example/passthrough_ll.c @@ -1189,6 +1189,13 @@ int main(int argc, char *argv[]) goto err_out1; } + if(opts.mountpoint == NULL) { + printf("usage: %s [options] <mountpoint>\n", argv[0]); + printf(" %s --help\n", argv[0]); + ret = 1; + goto err_out1; + } + if (fuse_opt_parse(&args, &lo, lo_opts, NULL)== -1) return 1; |