fix old optparse references in docstrings
BUG=chromium:496565
TEST=`./cbuildbot/run_tests` passes
Change-Id: I2a46926ee7786a82472c8d327652b6dad7049251
Reviewed-on: https://chromium-review.googlesource.com/384415
Tested-by: Mike Frysinger <vapier@chromium.org>
Reviewed-by: Ningning Xia <nxia@chromium.org>
diff --git a/scripts/deploy_chrome.py b/scripts/deploy_chrome.py
index 104f070..4487540 100644
--- a/scripts/deploy_chrome.py
+++ b/scripts/deploy_chrome.py
@@ -490,8 +490,7 @@
"""Perform some usage validation (after we've parsed the arguments).
Args:
- options: The options object returned by optparse.
- _args: The args object returned by optparse.
+ options: The options object returned by the cli parser.
"""
if options.local_pkg_path and not os.path.isfile(options.local_pkg_path):
cros_build_lib.Die('%s is not a file.', options.local_pkg_path)