1
0
mirror of https://github.com/minio/docs.git synced 2025-08-08 01:43:18 +03:00

Missed fixing option on mc mb

This commit is contained in:
Ravind Kumar
2022-03-04 12:30:23 -05:00
parent 35d0c8250d
commit c50d4140c1
7 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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::

View File

@@ -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::

View File

@@ -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

View File

@@ -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::

View File

@@ -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::