From a3a6fd837aa06942cf7e92f9ffb2c359f796f694 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 3 Dec 2014 17:58:00 +0100 Subject: [PATCH] makebootable: remove outdated "compatibility" options. Fixes #3779. --- .../makebootable/platform/bios_ia32/makebootable.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/bin/makebootable/platform/bios_ia32/makebootable.cpp b/src/bin/makebootable/platform/bios_ia32/makebootable.cpp index 4428e2dce6..125bab6880 100644 --- a/src/bin/makebootable/platform/bios_ia32/makebootable.cpp +++ b/src/bin/makebootable/platform/bios_ia32/makebootable.cpp @@ -87,11 +87,6 @@ const char *kUsage = "Options:\n" " -h, --help - Print this help text and exit.\n" " --dry-run - Do everything but actually writing the boot block to disk.\n" -"\n" -"[compatibility]\n" -" -alert - Compatibility option. Ignored.\n" -" -full - Compatibility option. Ignored.\n" -" -safe - Compatibility option. Fail when specified.\n" ; @@ -271,17 +266,10 @@ main(int argc, const char *const *argv) print_usage_and_exit(false); } else if (strcmp(arg, "--dry-run") == 0) { dryRun = true; - } else if (strcmp(arg, "-alert") == 0) { - // ignore - } else if (strcmp(arg, "-full") == 0) { - // ignore } else if (strcmp(arg, "--start-offset") == 0) { if (argi >= argc) print_usage_and_exit(true); startOffset = strtoll(argv[argi++], NULL, 0); - } else if (strcmp(arg, "-safe") == 0) { - fprintf(stderr, "Error: Sorry, BeOS R3 isn't supported!\n"); - exit(1); } else { print_usage_and_exit(true); }