dll: fuse3: fsp_fuse3_lib_help

This commit is contained in:
Bill Zissimopoulos 2018-07-19 06:39:18 -07:00
parent 753440e837
commit 5cd40ff7ff
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -27,6 +27,17 @@ FSP_FUSE_API int fsp_fuse3_main_real(struct fsp_fuse_env *env,
FSP_FUSE_API void fsp_fuse3_lib_help(struct fsp_fuse_env *env,
struct fuse_args *args)
{
char *helpargv[] =
{
"UNKNOWN",
"-h",
0
};
struct fuse_args helpargs = FUSE_ARGS_INIT(2, helpargv);
struct fsp_fuse_core_opt_data opt_data;
memset(&opt_data, 0, sizeof opt_data);
fsp_fuse_core_opt_parse(env, &helpargs, &opt_data, /*help=*/1);
}
FSP_FUSE_API int fsp_fuse3_loop(struct fsp_fuse_env *env,