memfs: memfs-main.c

This commit is contained in:
Bill Zissimopoulos 2016-04-09 12:08:30 -07:00
parent d1b004dc29
commit e973274d1c

View File

@ -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;