From e28390cc438f6206082894048801aea07964f603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Bostr=C3=B6m?= Date: Fri, 9 Nov 2018 19:24:17 +0000 Subject: [PATCH] Add the opt-in/out commands to metrics notice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mentioning these commands make it easier for folks to get rid of the large notice. Bug: None Change-Id: I85dd0e1ec0d33999af46f9e20b95bea05bd40a1e Reviewed-on: https://chromium-review.googlesource.com/c/1330181 Auto-Submit: Peter Boström Commit-Queue: Edward Lesmes Reviewed-by: Edward Lesmes --- metrics_utils.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/metrics_utils.py b/metrics_utils.py index 7815e16fba..60328a6c4e 100644 --- a/metrics_utils.py +++ b/metrics_utils.py @@ -39,9 +39,10 @@ NOTICE_VERSION_CHANGE_HEADER = ( '* Please review the changes and opt-in again. *' ) NOTICE_FOOTER = ( - '* For more information, and for how to disable this *\n' - '* message, please see metrics.README.md in your *\n' - '* depot_tools checkout or visit *\n' + '* To suppress this message opt in or out using: *\n' + '* $ gclient metrics [--opt-in] [--opt-out] *\n' + '* For more information please see metrics.README.md *\n' + '* in your depot_tools checkout or visit *\n' '* https://bit.ly/2ufRS4p. *\n' '*****************************************************\n' )