From c50d4140c1cba97f579c1c654538f0f1ccc3ec97 Mon Sep 17 00:00:00 2001 From: Ravind Kumar Date: Fri, 4 Mar 2022 12:30:23 -0500 Subject: [PATCH] Missed fixing option on mc mb --- source/includes/facts-locking.rst | 2 +- source/object-retention/minio-object-locking.rst | 2 +- source/reference/minio-mc/mc-legalhold-info.rst | 2 +- source/reference/minio-mc/mc-legalhold-set.rst | 2 +- source/reference/minio-mc/mc-mb.rst | 6 +++--- source/reference/minio-mc/mc-retention-info.rst | 2 +- source/reference/minio-mc/mc-retention-set.rst | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/source/includes/facts-locking.rst b/source/includes/facts-locking.rst index 578721ac..9139b160 100644 --- a/source/includes/facts-locking.rst +++ b/source/includes/facts-locking.rst @@ -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 \ No newline at end of file diff --git a/source/object-retention/minio-object-locking.rst b/source/object-retention/minio-object-locking.rst index d006456c..bd3c3981 100644 --- a/source/object-retention/minio-object-locking.rst +++ b/source/object-retention/minio-object-locking.rst @@ -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 diff --git a/source/reference/minio-mc/mc-legalhold-info.rst b/source/reference/minio-mc/mc-legalhold-info.rst index ce09de51..896ab77e 100644 --- a/source/reference/minio-mc/mc-legalhold-info.rst +++ b/source/reference/minio-mc/mc-legalhold-info.rst @@ -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:: diff --git a/source/reference/minio-mc/mc-legalhold-set.rst b/source/reference/minio-mc/mc-legalhold-set.rst index 21a7eafc..0d81d28d 100644 --- a/source/reference/minio-mc/mc-legalhold-set.rst +++ b/source/reference/minio-mc/mc-legalhold-set.rst @@ -31,7 +31,7 @@ an object or objects. :mc:`mc legalhold` *requires* that the specified bucket has :ref:`object locking enabled `. 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:: diff --git a/source/reference/minio-mc/mc-mb.rst b/source/reference/minio-mc/mc-mb.rst index 8a5c4e73..c60c1fe3 100644 --- a/source/reference/minio-mc/mc-mb.rst +++ b/source/reference/minio-mc/mc-mb.rst @@ -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 ` 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 diff --git a/source/reference/minio-mc/mc-retention-info.rst b/source/reference/minio-mc/mc-retention-info.rst index c096ff4d..8a127638 100644 --- a/source/reference/minio-mc/mc-retention-info.rst +++ b/source/reference/minio-mc/mc-retention-info.rst @@ -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:: diff --git a/source/reference/minio-mc/mc-retention-set.rst b/source/reference/minio-mc/mc-retention-set.rst index 43c5a71c..3a73328f 100644 --- a/source/reference/minio-mc/mc-retention-set.rst +++ b/source/reference/minio-mc/mc-retention-set.rst @@ -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::