瀏覽代碼

BUG: Correct typo in error message.

David Cole 17 年之前
父節點
當前提交
9cd09b59c6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmStringCommand.cxx

+ 1 - 1
Source/cmStringCommand.cxx

@@ -222,7 +222,7 @@ bool cmStringCommand::HandleRegexCommand(std::vector<std::string> const& args)
     {
     if(args.size() < 6)
       {
-      this->SetError("sub-command REGEX, mode MATCH needs "
+      this->SetError("sub-command REGEX, mode REPLACE needs "
                      "at least 6 arguments total to command.");
       return false;
       }