Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index 15e24e29d86e338ec4e6ef25c7997b6342e6c3ed..6d524091ef74e9ab43da6d64b351f2651aeb9eb8 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -1178,7 +1178,7 @@ def CheckGNFormatted(input_api, output_api): |
rc = gn.main(cmd) |
if rc == 2: |
warnings.append(output_api.PresubmitPromptWarning( |
- '%s requires formatting. Please run `gn format --in-place %s`.' % ( |
+ '%s requires formatting. Please run:\n gn format %s' % ( |
f.AbsoluteLocalPath(), f.LocalPath()))) |
# It's just a warning, so ignore other types of failures assuming they'll be |
# caught elsewhere. |