From e2709bd70462c25f0578408fdeda0d33ac42806e Mon Sep 17 00:00:00 2001 From: Evan Martin Date: Mon, 8 Oct 2012 16:31:15 -0700 Subject: mingw helper: drop unused -r flag --- src/msvc_helper_main-win32.cc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/msvc_helper_main-win32.cc b/src/msvc_helper_main-win32.cc index 4a4b3c4..152450e 100644 --- a/src/msvc_helper_main-win32.cc +++ b/src/msvc_helper_main-win32.cc @@ -28,7 +28,6 @@ void Usage() { "usage: ninja -t msvc [options] -- cl.exe /showIncludes /otherArgs\n" "options:\n" " -e ENVFILE load environment block from ENVFILE as environment\n" -" -r BASE normalize paths and make relative to BASE before output\n" " -o FILE write output dependency information to FILE.d\n" ); } @@ -49,7 +48,6 @@ void PushPathIntoEnvironment(const string& env_block) { int MSVCHelperMain(int argc, char** argv) { const char* output_filename = NULL; - const char* relative_to = NULL; const char* envfile = NULL; const option kLongOptions[] = { @@ -57,7 +55,7 @@ int MSVCHelperMain(int argc, char** argv) { { NULL, 0, NULL, 0 } }; int opt; - while ((opt = getopt_long(argc, argv, "e:o:r:h", kLongOptions, NULL)) != -1) { + while ((opt = getopt_long(argc, argv, "e:o:h", kLongOptions, NULL)) != -1) { switch (opt) { case 'e': envfile = optarg; @@ -65,9 +63,6 @@ int MSVCHelperMain(int argc, char** argv) { case 'o': output_filename = optarg; break; - case 'r': - relative_to = optarg; - break; case 'h': default: Usage(); -- cgit v0.12