diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/msvc_helper_main-win32.cc | 7 |
1 files changed, 1 insertions, 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(); |