Commit 638667ef authored by Florian Maushart's avatar Florian Maushart Committed by Brad King
Browse files

cmake: cmcmd.cxx fix "The arguments are" comments

Changed "argv" to "args" in comments to match parameter names
parent 3ca44029
...@@ -1351,8 +1351,8 @@ static void cmcmdProgressReport(std::string const& dir, std::string const& num) ...@@ -1351,8 +1351,8 @@ static void cmcmdProgressReport(std::string const& dir, std::string const& num)
int cmcmd::ExecuteEchoColor(std::vector<std::string>& args) int cmcmd::ExecuteEchoColor(std::vector<std::string>& args)
{ {
// The arguments are // The arguments are
// argv[0] == <cmake-executable> // args[0] == <cmake-executable>
// argv[1] == cmake_echo_color // args[1] == cmake_echo_color
bool enabled = true; bool enabled = true;
int color = cmsysTerminal_Color_Normal; int color = cmsysTerminal_Color_Normal;
...@@ -1409,10 +1409,10 @@ int cmcmd::ExecuteEchoColor(std::vector<std::string>& args) ...@@ -1409,10 +1409,10 @@ int cmcmd::ExecuteEchoColor(std::vector<std::string>& args)
int cmcmd::ExecuteLinkScript(std::vector<std::string>& args) int cmcmd::ExecuteLinkScript(std::vector<std::string>& args)
{ {
// The arguments are // The arguments are
// argv[0] == <cmake-executable> // args[0] == <cmake-executable>
// argv[1] == cmake_link_script // args[1] == cmake_link_script
// argv[2] == <link-script-name> // args[2] == <link-script-name>
// argv[3] == --verbose=? // args[3] == --verbose=?
bool verbose = false; bool verbose = false;
if (args.size() >= 4) { if (args.size() >= 4) {
if (args[3].find("--verbose=") == 0) { if (args[3].find("--verbose=") == 0) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment