mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-22 08:23:05 -05:00
dll: fuse3: fsp_fuse3_lib_help
This commit is contained in:
parent
753440e837
commit
5cd40ff7ff
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user