checker: Don't allow paths to repo roots.
- All callers (Recipes) should pass full paths to config
protos, so supporting paths to repo roots is no longer
necessary.
BUG=chromium:1058057
TEST=python unittests
Change-Id: I9eb5bd8c550f64a8743eec62f67b955e496ec7a2
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/config/+/2095525
Reviewed-by: Sean McAllister <smcallis@google.com>
Reviewed-by: David Burger <dburger@chromium.org>
Commit-Queue: Andrew Lamb <andrewlamb@chromium.org>
Tested-by: Andrew Lamb <andrewlamb@chromium.org>
diff --git a/payload_utils/checker.py b/payload_utils/checker.py
index d6ec0ab..6a04599 100755
--- a/payload_utils/checker.py
+++ b/payload_utils/checker.py
@@ -19,18 +19,16 @@
parser.add_argument(
'--program',
required=True,
- help=('Path to the program config binary proto e.g. '
- '.../chromiumos/src/program/program1/generated/config.binaryproto. '
- 'Note that passing a path to the repo root is deprecated, and will '
- 'raise a warning.'),
+ help=(
+ 'Path to the program config binary proto e.g. '
+ '.../chromiumos/src/program/program1/generated/config.binaryproto.'),
metavar='PATH')
parser.add_argument(
'--project',
required=True,
- help=('Path to the project config binary proto e.g. '
- '.../chromiumos/src/project/project1/generated/config.binaryproto. '
- 'Note that passing a path to the repo root is deprecated, and will '
- 'raise a warning.'),
+ help=(
+ 'Path to the project config binary proto e.g. '
+ '.../chromiumos/src/project/project1/generated/config.binaryproto.'),
metavar='PATH')
return parser