mirror of
https://github.com/minio/docs.git
synced 2025-08-06 14:42:56 +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.
|
The bucket *must* have object locking enabled to use this command.
|
||||||
You can only enable object locking when creating a bucket. See
|
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.
|
with object locking enabled.
|
||||||
|
|
||||||
.. end-command-requires-locking-desc
|
.. end-command-requires-locking-desc
|
@@ -216,7 +216,7 @@ the MinIO :mc:`mc` CLI, or using an S3-compatible SDK.
|
|||||||
.. tab-item:: MinIO CLI
|
.. tab-item:: MinIO CLI
|
||||||
:sync: 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:
|
option to create a bucket with object locking enabled:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. 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
|
:mc:`mc legalhold` *requires* that the specified bucket has object locking
|
||||||
enabled. You can **only** enable object locking at bucket creation. See
|
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.
|
object locking enabled.
|
||||||
|
|
||||||
.. tab-set::
|
.. tab-set::
|
||||||
|
@@ -31,7 +31,7 @@ an object or objects.
|
|||||||
|
|
||||||
:mc:`mc legalhold` *requires* that the specified bucket has
|
:mc:`mc legalhold` *requires* that the specified bucket has
|
||||||
:ref:`object locking enabled <minio-object-locking>`. You can **only** enable
|
: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.
|
documentation on creating buckets with object locking enabled.
|
||||||
|
|
||||||
.. tab-set::
|
.. tab-set::
|
||||||
|
@@ -76,7 +76,7 @@ Parameters
|
|||||||
|
|
||||||
mc ls ~/mydata/object.txt
|
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
|
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
|
The region in which to create the specified bucket. Has no effect if the
|
||||||
specified :mc-cmd:`~mc mb ALIAS` is a filesystem directory.
|
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
|
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
|
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:
|
enabled:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
@@ -33,7 +33,7 @@ use :mc:`mc legalhold`.
|
|||||||
|
|
||||||
:mc:`mc retention info` *requires* that the specified bucket has object locking
|
:mc:`mc retention info` *requires* that the specified bucket has object locking
|
||||||
enabled. You can **only** enable object locking at bucket creation. See
|
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.
|
object locking enabled.
|
||||||
|
|
||||||
.. tab-set::
|
.. tab-set::
|
||||||
|
@@ -39,7 +39,7 @@ use :mc:`mc legalhold`.
|
|||||||
|
|
||||||
:mc:`mc retention set` *requires* that the specified bucket has object locking
|
:mc:`mc retention set` *requires* that the specified bucket has object locking
|
||||||
enabled. You can **only** enable object locking at bucket creation. See
|
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.
|
object locking enabled.
|
||||||
|
|
||||||
.. tab-set::
|
.. tab-set::
|
||||||
|
Reference in New Issue
Block a user