aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_integrate.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:03:03 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-22 17:03:03 -0700
commit059d90b80206803ff123e9cc995c5885199789a0 (patch)
tree6a7637b6a39e40ea974492b6fa031dc34f5a231b /toolsrc/src/commands_integrate.cpp
parent3d978f8310285d3e136b794e2346158e8e72b005 (diff)
downloadvcpkg-059d90b80206803ff123e9cc995c5885199789a0.tar.gz
vcpkg-059d90b80206803ff123e9cc995c5885199789a0.zip
Use Checks::exit_with_message()
Diffstat (limited to 'toolsrc/src/commands_integrate.cpp')
-rw-r--r--toolsrc/src/commands_integrate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolsrc/src/commands_integrate.cpp b/toolsrc/src/commands_integrate.cpp
index 8d6e42fd1..8e23a3dcf 100644
--- a/toolsrc/src/commands_integrate.cpp
+++ b/toolsrc/src/commands_integrate.cpp
@@ -304,7 +304,6 @@ With a project open, go to Tools->NuGet Package Manager->Package Manager Console
return integrate_project(paths);
}
- System::println(System::color::error, "Unknown parameter %s for integrate", args.command_arguments[0]);
- exit(EXIT_FAILURE);
+ Checks::exit_with_message(VCPKG_LINE_INFO, "Unknown parameter %s for integrate", args.command_arguments[0]);
}
}