diff --git a/src/lint/linter/ArcanistCpplintLinter.php b/src/lint/linter/ArcanistCpplintLinter.php --- a/src/lint/linter/ArcanistCpplintLinter.php +++ b/src/lint/linter/ArcanistCpplintLinter.php @@ -19,9 +19,10 @@ public function getInstallInstructions() { return pht( - 'Install cpplint.py using `%s`.', - 'wget http://google-styleguide.googlecode.com'. - '/svn/trunk/cpplint/cpplint.py'); + 'Install cpplint.py using `%s`, and place it in your path with the'. + 'appropriate permissions set.', + 'wget https://raw.github.com'. + '/google/styleguide/gh-pages/cpplint/cpplint.py'); } protected function getDefaultMessageSeverity($code) { @@ -60,7 +61,7 @@ } protected function getLintCodeFromLinterConfigurationKey($code) { - if (!preg_match('@^[a-z_]+/[a-z_]+$@', $code)) { + if (!preg_match('@^[a-z_]+/[a-z0-9_+]+$@', $code)) { throw new Exception( pht( 'Unrecognized lint message code "%s". Expected a valid cpplint '.