mirror of
https://github.com/minio/docs.git
synced 2025-07-31 18:04:52 +03:00
Missed fixing option on mc mb
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
The bucket *must* have object locking enabled to use this command.
|
||||
You can only enable object locking when creating a bucket. See
|
||||
:mc-cmd:`mc mb with-lock` for more information on creating buckets
|
||||
:mc-cmd:`mc mb --with-lock` for more information on creating buckets
|
||||
with object locking enabled.
|
||||
|
||||
.. end-command-requires-locking-desc
|
@ -216,7 +216,7 @@ the MinIO :mc:`mc` CLI, or using an S3-compatible SDK.
|
||||
.. tab-item:: MinIO CLI
|
||||
:sync: cli
|
||||
|
||||
Use The command command with the :mc-cmd:`~mc mb with-lock`
|
||||
Use The command command with the :mc-cmd:`~mc mb --with-lock`
|
||||
option to create a bucket with object locking enabled:
|
||||
|
||||
.. code-block:: shell
|
||||
|
@ -29,7 +29,7 @@ The :mc:`mc legalhold info` command returns the current :ref:`legal hold
|
||||
|
||||
:mc:`mc legalhold` *requires* that the specified bucket has object locking
|
||||
enabled. You can **only** enable object locking at bucket creation. See
|
||||
:mc-cmd:`mc mb with-lock` for documentation on creating buckets with
|
||||
:mc-cmd:`mc mb --with-lock` for documentation on creating buckets with
|
||||
object locking enabled.
|
||||
|
||||
.. tab-set::
|
||||
|
@ -31,7 +31,7 @@ an object or objects.
|
||||
|
||||
:mc:`mc legalhold` *requires* that the specified bucket has
|
||||
:ref:`object locking enabled <minio-object-locking>`. You can **only** enable
|
||||
object locking at bucket creation. See :mc-cmd:`mc mb with-lock` for
|
||||
object locking at bucket creation. See :mc-cmd:`mc mb --with-lock` for
|
||||
documentation on creating buckets with object locking enabled.
|
||||
|
||||
.. tab-set::
|
||||
|
@ -76,7 +76,7 @@ Parameters
|
||||
|
||||
mc ls ~/mydata/object.txt
|
||||
|
||||
.. mc-cmd:: ignore-existing, p
|
||||
.. mc-cmd:: --ignore-existing, p
|
||||
|
||||
|
||||
Directs :mc-cmd:`mc mb` to do nothing if the bucket or directory already
|
||||
@ -88,7 +88,7 @@ Parameters
|
||||
The region in which to create the specified bucket. Has no effect if the
|
||||
specified :mc-cmd:`~mc mb ALIAS` is a filesystem directory.
|
||||
|
||||
.. mc-cmd:: with-lock, l
|
||||
.. mc-cmd:: --with-lock, l
|
||||
|
||||
|
||||
Enables :ref:`object locking <minio-object-locking>` on the specified
|
||||
@ -117,7 +117,7 @@ Create Bucket
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
Use :mc:`mc mb` to create a bucket on an S3-compatible host. The
|
||||
:mc-cmd:`~mc mb with-lock` option creates the bucket with locking
|
||||
:mc-cmd:`~mc mb --with-lock` option creates the bucket with locking
|
||||
enabled:
|
||||
|
||||
.. code-block:: shell
|
||||
|
@ -33,7 +33,7 @@ use :mc:`mc legalhold`.
|
||||
|
||||
:mc:`mc retention info` *requires* that the specified bucket has object locking
|
||||
enabled. You can **only** enable object locking at bucket creation. See
|
||||
:mc-cmd:`mc mb with-lock` for documentation on creating buckets with
|
||||
:mc-cmd:`mc mb --with-lock` for documentation on creating buckets with
|
||||
object locking enabled.
|
||||
|
||||
.. tab-set::
|
||||
|
@ -39,7 +39,7 @@ use :mc:`mc legalhold`.
|
||||
|
||||
:mc:`mc retention set` *requires* that the specified bucket has object locking
|
||||
enabled. You can **only** enable object locking at bucket creation. See
|
||||
:mc-cmd:`mc mb with-lock` for documentation on creating buckets with
|
||||
:mc-cmd:`mc mb --with-lock` for documentation on creating buckets with
|
||||
object locking enabled.
|
||||
|
||||
.. tab-set::
|
||||
|
Reference in New Issue
Block a user