aboutsummaryrefslogtreecommitdiff
path: root/llvm_tools/copy_helpers_to_chromiumos_overlay.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm_tools/copy_helpers_to_chromiumos_overlay.py')
-rwxr-xr-xllvm_tools/copy_helpers_to_chromiumos_overlay.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm_tools/copy_helpers_to_chromiumos_overlay.py b/llvm_tools/copy_helpers_to_chromiumos_overlay.py
index 84716aad..59a664d5 100755
--- a/llvm_tools/copy_helpers_to_chromiumos_overlay.py
+++ b/llvm_tools/copy_helpers_to_chromiumos_overlay.py
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
# Copyright 2019 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -28,7 +27,7 @@ def _find_repo_root(script_root):
def main():
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument(
- "--chroot_path",
+ "--chromeos_path",
help="Path to where CrOS' source tree lives. Will autodetect if you're "
"running this from inside the CrOS source tree.",
)
@@ -36,13 +35,13 @@ def main():
my_dir = os.path.abspath(os.path.dirname(__file__))
- repo_root = args.chroot_path
+ repo_root = args.chromeos_path
if repo_root is None:
repo_root = _find_repo_root(my_dir)
if repo_root is None:
sys.exit(
"Couldn't detect the CrOS checkout root; please provide a "
- "value for --chroot_path"
+ "value for --chromeos_path"
)
chromiumos_overlay = os.path.join(