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"
"\n"
"options:\n"
" -t FileInfoTimeout\n"
" -t FileInfoTimeout (millis)\n"
" -n MaxFileNodes\n"
" -s MaxFileSize\n"
" -S RootSddl"
" -s MaxFileSize (bytes)\n"
" -S RootSddl (file rights: FA, etc; NO generic rights: GA, etc.)\n"
" -u \\\\Volume\\Prefix\n"
" -m MountPoint\n";
" -m MountPoint (X:)\n";
warn(usage, PROGNAME);
exit(2);
@ -108,6 +108,9 @@ int wmain(int argc, wchar_t **argv)
break;
switch (argp[0][1])
{
case L'?':
usage();
break;
case L'm':
MountPoint = argtos(++argp);
break;