summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorFlorian Maushart <FloriansGit@online.ms>2018-07-15 06:44:23 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-25 13:21:14 (GMT)
commit638667efa2b0e5fff5c63bf936748a60b602ae90 (patch)
tree488d8f633e5a75e0d3c853d5c3e858dbde74425a /Source
parent3ca44029668c057fb208c5f153c4d398bee954cb (diff)
downloadCMake-638667efa2b0e5fff5c63bf936748a60b602ae90.zip
CMake-638667efa2b0e5fff5c63bf936748a60b602ae90.tar.gz
CMake-638667efa2b0e5fff5c63bf936748a60b602ae90.tar.bz2
cmake: cmcmd.cxx fix "The arguments are" comments
Changed "argv" to "args" in comments to match parameter names
Diffstat (limited to 'Source')
-rw-r--r--Source/cmcmd.cxx12
1 files 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<std::string>& args)
{
// The arguments are
- // argv[0] == <cmake-executable>
- // argv[1] == cmake_echo_color
+ // args[0] == <cmake-executable>
+ // args[1] == cmake_echo_color
bool enabled = true;
int color = cmsysTerminal_Color_Normal;
@@ -1409,10 +1409,10 @@ int cmcmd::ExecuteEchoColor(std::vector<std::string>& args)
int cmcmd::ExecuteLinkScript(std::vector<std::string>& args)
{
// The arguments are
- // argv[0] == <cmake-executable>
- // argv[1] == cmake_link_script
- // argv[2] == <link-script-name>
- // argv[3] == --verbose=?
+ // args[0] == <cmake-executable>
+ // args[1] == cmake_link_script
+ // args[2] == <link-script-name>
+ // args[3] == --verbose=?
bool verbose = false;
if (args.size() >= 4) {
if (args[3].find("--verbose=") == 0) {