oci-cli icon indicating copy to clipboard operation
oci-cli copied to clipboard

oci os object sync help is incorrect on parameters and required fields

Open et304383 opened this issue 3 years ago • 1 comments

Two issues:

  • The parameter is -bn (one hyphen) but the examples all have --bn (two hyphens)
  • --src-dir is a required field but is listed as optional

et304383 avatar May 11 '22 11:05 et304383

oci os object sync --help Usage: oci os object sync [OPTIONS]

Synchronizes a filesystem directory with objects in a bucket. Traverses sub-directories copying new and modified files or objects from the source to the destination and optionally deleting those that are not present in the source.

Options: -ns, --namespace, --namespace-name TEXT The top-level namespace used for the request. If not provided, this parameter will be obtained internally using a call to 'oci os ns get'

-bn, --bucket-name TEXT The name of the bucket. [required]

The bn parameter is correctly mentioned in the examples

meghaagarwal-dev avatar Sep 08 '22 18:09 meghaagarwal-dev