Skip to content

Commit

Permalink
Updated B2URI argument help text
Browse files Browse the repository at this point in the history
  • Loading branch information
emnoor-reef committed Feb 8, 2024
1 parent 27ebc55 commit 9710b08
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions b2/_internal/_cli/b2args.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ def b2id_or_file_like_b2_uri(value: str) -> B2URIBase:
def add_b2id_or_b2_uri_argument(parser: argparse.ArgumentParser, name="B2_URI"):
"""
Add B2 URI (b2:// or b2id://) as an argument to the parser.
B2 URI can point to a bucket, optionally with a directory or a pattern.
B2 URI can point to a bucket optionally with a object name prefix (directory)
or a file-like object.
"""
parser.add_argument(
name,
type=B2ID_OR_B2_URI_ARG_TYPE,
help="B2 URI pointing to a bucket, directory, pattern or a file."
"e.g. b2://yourBucket, b2://yourBucket/file.txt, b2://yourBucket/folder/, "
"b2://yourBucket/*.txt or b2id://fileId",
help="B2 URI pointing to a bucket, directory or a file."
"e.g. b2://yourBucket, b2://yourBucket/file.txt, b2://yourBucket/folderName/, or b2id://fileId",
).completer = b2uri_file_completer


Expand Down

0 comments on commit 9710b08

Please sign in to comment.