rename --fakefs to --rootfs

because it can also be used on realfs
This commit is contained in:
Nick Chan committed 2023-01-17 20:48:54 +08:00
1 parent c958d50c82
commit 43a8f51145
3 files changed
+7 -4

No files matched your search

+2 -2
View File
@@ -145,7 +145,7 @@ static struct option longopts[] = {
{"start-from-pongo", no_argument, NULL, 'P'},
{"debug-logging", no_argument, NULL, 'V'},
{"boot-args", required_argument, NULL, 'e'},
{"fakefs", required_argument, NULL, 'f'},
{"rootfs", required_argument, NULL, 'f'},
{NULL, 0, NULL, 0}};
int usage(int e)
@@ -161,7 +161,7 @@ int usage(int e)
"\t-v, --debug-logging\t\t\tEnable debug logging\n"
"\t\tThis option can be repeated for extra verbosity.\n"
"\t-e, --boot-args <boot arguments>\tXNU boot arguments\n"
"\t-f, --fakefs <root device>\t\tBoots fakefs on <root device>\n",
"\t-f, --rootfs <root device>\t\tBoots rootful setup on <root device>\n",
getprogname());
exit(e);
}