cli: Fix docstring-section-indent lint errors.
Fix docstring-section-indent lint errors, and resulting
line-too-long errors. Also a few spelling fixes.
BUG=b:233893248
TEST=cros lint
Change-Id: I811a84ecf6ae5378627b77edb51296b525089d73
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/chromite/+/3953473
Auto-Submit: Alex Klein <saklein@chromium.org>
Commit-Queue: Sloan Johnson <sloanjohnson@google.com>
Commit-Queue: Alex Klein <saklein@chromium.org>
Tested-by: Alex Klein <saklein@chromium.org>
Reviewed-by: Sloan Johnson <sloanjohnson@google.com>
diff --git a/cli/command.py b/cli/command.py
index 79eefda..e8e5382 100644
--- a/cli/command.py
+++ b/cli/command.py
@@ -49,10 +49,10 @@
will automatically get added to |_commands|.
Args:
- name: The subcommand to load.
+ name: The subcommand to load.
Returns:
- A reference to the subcommand class.
+ A reference to the subcommand class.
"""
module_path = os.path.join(
_SUBCOMMAND_MODULE_DIRECTORY, "cros_%s" % (name.replace("-", "_"),)
@@ -156,9 +156,9 @@
This standardizes the help message across all subcommands.
Args:
- parser: The parser to add the device argument to.
- schemes: List of device schemes or single scheme to allow.
- positional: Whether it should be a positional or named argument.
+ parser: The parser to add the device argument to.
+ schemes: List of device schemes or single scheme to allow.
+ positional: Whether it should be a positional or named argument.
"""
help_strings = []
schemes = list(cros_build_lib.iflatten_instance(schemes))