From 31f6878eec0f93fbc43929673cd305f699331d47 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Wed, 22 Nov 2023 09:18:10 +0100 Subject: [PATCH] use imperative mood in internal docstring --- b2/_cli/argcompleters.py | 2 +- b2/_cli/b2args.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/b2/_cli/argcompleters.py b/b2/_cli/argcompleters.py index 8b6ff700b..a3d12dca8 100644 --- a/b2/_cli/argcompleters.py +++ b/b2/_cli/argcompleters.py @@ -57,7 +57,7 @@ def file_name_completer(api: B2Api, parsed_args, **kwargs): @_with_api def b2uri_file_completer(api: B2Api, prefix: str, **kwargs): """ - Completes B2 URI pointing to a file-like object in a bucket. + Complete B2 URI pointing to a file-like object in a bucket. """ if prefix.startswith('b2://'): prefix_without_scheme = removeprefix(prefix, 'b2://') diff --git a/b2/_cli/b2args.py b/b2/_cli/b2args.py index 3277f45de..4c9b4e2a1 100644 --- a/b2/_cli/b2args.py +++ b/b2/_cli/b2args.py @@ -35,7 +35,7 @@ def b2_file_uri(value: str) -> B2URIBase: def add_b2_file_argument(parser: argparse.ArgumentParser, name="B2_URI"): """ - Add an argument to the parser that must be a B2 URI pointing to a file. + Add a B2 URI pointing to a file as an argument to the parser. """ parser.add_argument( name,