From 638667efa2b0e5fff5c63bf936748a60b602ae90 Mon Sep 17 00:00:00 2001 From: Florian Maushart Date: Sun, 15 Jul 2018 08:44:23 +0200 Subject: cmake: cmcmd.cxx fix "The arguments are" comments Changed "argv" to "args" in comments to match parameter names --- Source/cmcmd.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx index 26f7509..5ae0ea4 100644 --- a/Source/cmcmd.cxx +++ b/Source/cmcmd.cxx @@ -1351,8 +1351,8 @@ static void cmcmdProgressReport(std::string const& dir, std::string const& num) int cmcmd::ExecuteEchoColor(std::vector& args) { // The arguments are - // argv[0] == - // argv[1] == cmake_echo_color + // args[0] == + // args[1] == cmake_echo_color bool enabled = true; int color = cmsysTerminal_Color_Normal; @@ -1409,10 +1409,10 @@ int cmcmd::ExecuteEchoColor(std::vector& args) int cmcmd::ExecuteLinkScript(std::vector& args) { // The arguments are - // argv[0] == - // argv[1] == cmake_link_script - // argv[2] == - // argv[3] == --verbose=? + // args[0] == + // args[1] == cmake_link_script + // args[2] == + // args[3] == --verbose=? bool verbose = false; if (args.size() >= 4) { if (args[3].find("--verbose=") == 0) { -- cgit v0.12