mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
memfs: memfs-main.c
This commit is contained in:
parent
d1b004dc29
commit
e973274d1c
@ -52,12 +52,12 @@ static void usage(void)
|
|||||||
"usage: %s OPTIONS\n"
|
"usage: %s OPTIONS\n"
|
||||||
"\n"
|
"\n"
|
||||||
"options:\n"
|
"options:\n"
|
||||||
" -t FileInfoTimeout\n"
|
" -t FileInfoTimeout (millis)\n"
|
||||||
" -n MaxFileNodes\n"
|
" -n MaxFileNodes\n"
|
||||||
" -s MaxFileSize\n"
|
" -s MaxFileSize (bytes)\n"
|
||||||
" -S RootSddl"
|
" -S RootSddl (file rights: FA, etc; NO generic rights: GA, etc.)\n"
|
||||||
" -u \\\\Volume\\Prefix\n"
|
" -u \\\\Volume\\Prefix\n"
|
||||||
" -m MountPoint\n";
|
" -m MountPoint (X:)\n";
|
||||||
|
|
||||||
warn(usage, PROGNAME);
|
warn(usage, PROGNAME);
|
||||||
exit(2);
|
exit(2);
|
||||||
@ -108,6 +108,9 @@ int wmain(int argc, wchar_t **argv)
|
|||||||
break;
|
break;
|
||||||
switch (argp[0][1])
|
switch (argp[0][1])
|
||||||
{
|
{
|
||||||
|
case L'?':
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
case L'm':
|
case L'm':
|
||||||
MountPoint = argtos(++argp);
|
MountPoint = argtos(++argp);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user