diff options
-rw-r--r-- | example/hello_ll.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/example/hello_ll.c b/example/hello_ll.c index 601cf93..97f3c50 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -183,6 +183,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; + } + se = fuse_session_new(&args, &hello_ll_oper, sizeof(hello_ll_oper), NULL); if (se == NULL) |