Update message on how to format changes

Bug: 379902295
Change-Id: I6d4b2753664c20887f7063865536ce071252844d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6226155
Reviewed-by: Scott Lee <ddoman@chromium.org>
Auto-Submit: Gary Tong <gatong@chromium.org>
Commit-Queue: Scott Lee <ddoman@chromium.org>
This commit is contained in:
Gary Tong
2025-02-04 10:52:31 -08:00
committed by LUCI CQ
parent 1545b061fd
commit cf5b6bd0cb

View File

@@ -6873,8 +6873,8 @@ def CMDformat(parser, args):
if gclient_utils.IsEnvCog():
print(
'format command is not supported. Please use the "Format '
'Document" functionality in command palette in the Editor '
'instead.',
'Modified Lines in All Files (git cl format)" functionality in'
'command palette in the editor instead.',
file=sys.stderr)
return 1
clang_exts = ['.cc', '.cpp', '.h', '.m', '.mm', '.proto']