1
0
mirror of https://github.com/minio/docs.git synced 2025-07-27 08:41:57 +03:00

Updating global flags to point to the common list in the mc page (#541)

This commit is contained in:
Daryl White
2022-08-31 12:46:27 -05:00
committed by GitHub
parent ac7f725e43
commit 705ec2cf45
3 changed files with 8 additions and 47 deletions

View File

@ -53,6 +53,7 @@ var s3Client = new Minio.Client({
| [`setBucketReplication`](#setBucketReplication) | | | | | |
| [`getBucketReplication`](#getBucketReplication) | | | | | |
| [`removeBucketReplication`](#removeBucketReplication) | | | | | |
## 1. Constructor
<a name="MinioClient_endpoint"></a>

View File

@ -1,23 +1,8 @@
.. start-minio-mc-globals
.. mc-cmd:: --debug
:optional:
Enables verbose output to the console.
This command supports any of the :ref:`global flags <minio-mc-global-options>`.
For example:
.. code-block:: shell
:class: copyable
mc --debug COMMAND
.. mc-cmd:: --config-dir
:optional:
The path to a ``JSON`` formatted configuration file that
:program:`mc` uses for storing data. See :ref:`mc-configuration` for
more information on how :program:`mc` uses the configuration file.
.. end-minio-mc-globals
.. start-minio-mc-json-globals
@ -36,36 +21,6 @@
.. end-minio-mc-json-globals
.. mc-cmd:: --no-color
:optional:
Disables the built-in color theme for console output. Useful for dumb
terminals.
.. mc-cmd:: --quiet
:optional:
Suppresses console output.
.. mc-cmd:: --insecure
:optional:
Disables TLS/SSL certificate verification. Allows TLS connectivity to
servers with invalid certificates. Exercise caution when using this
option against untrusted S3 hosts.
.. mc-cmd:: --version
:optional:
Displays the current version of :mc-cmd:`mc`.
.. mc-cmd:: --help
:optional:
Displays a summary of command usage on the terminal.
.. end-minio-mc-globals
.. start-minio-mc-no-flags
This command supports only global flags

View File

@ -433,6 +433,11 @@ All :ref:`commands <minio-mc-commands>` support the following global options:
Displays the current version of :mc-cmd:`mc`.
.. mc-cmd:: --help
:optional:
Displays a summary of command usage on the terminal.
.. toctree::
:titlesonly:
:hidden: