aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2016-09-30 11:24:04 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2016-09-30 11:52:54 -0700
commit82d145c9bcce22bf9b5b2a88fdab5b3eb2f5f377 (patch)
tree5152c3fbed6fdefd79aa6dbdebe64063568e3aaa
parentfc1e55173b23afeb46142e6d656043a4b6f4b21c (diff)
downloadvcpkg-82d145c9bcce22bf9b5b2a88fdab5b3eb2f5f377.tar.gz
vcpkg-82d145c9bcce22bf9b5b2a88fdab5b3eb2f5f377.zip
Add quotes around command name
-rw-r--r--toolsrc/src/vcpkg_cmd_arguments.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/toolsrc/src/vcpkg_cmd_arguments.cpp b/toolsrc/src/vcpkg_cmd_arguments.cpp
index dd8b41a72..062da4b02 100644
--- a/toolsrc/src/vcpkg_cmd_arguments.cpp
+++ b/toolsrc/src/vcpkg_cmd_arguments.cpp
@@ -186,7 +186,7 @@ namespace vcpkg
const size_t actual_arg_count = command_arguments.size();
if (actual_arg_count > expected_arg_count)
{
- System::println(System::color::error, "Error: %s requires at most %u arguments, but %u were provided", this->command, expected_arg_count, actual_arg_count);
+ System::println(System::color::error, "Error: `%s` requires at most %u arguments, but %u were provided", this->command, expected_arg_count, actual_arg_count);
System::print(example_text);
exit(EXIT_FAILURE);
}
@@ -197,7 +197,7 @@ namespace vcpkg
const size_t actual_arg_count = command_arguments.size();
if (actual_arg_count < expected_arg_count)
{
- System::println(System::color::error, "Error: %s requires at least %u arguments, but %u were provided", this->command, expected_arg_count, actual_arg_count);
+ System::println(System::color::error, "Error: `%s` requires at least %u arguments, but %u were provided", this->command, expected_arg_count, actual_arg_count);
System::print(example_text);
exit(EXIT_FAILURE);
}
@@ -208,7 +208,7 @@ namespace vcpkg
const size_t actual_arg_count = command_arguments.size();
if (actual_arg_count != expected_arg_count)
{
- System::println(System::color::error, "Error: %s requires %u arguments, but %u were provided", this->command, expected_arg_count, actual_arg_count);
+ System::println(System::color::error, "Error: `%s` requires %u arguments, but %u were provided", this->command, expected_arg_count, actual_arg_count);
System::print(example_text);
exit(EXIT_FAILURE);
}