1
0
mirror of https://github.com/minio/docs.git synced 2025-07-30 07:03:26 +03:00

Adds disable pager global flag and envvar (#1223)

Closes #1200
This commit is contained in:
Daryl White
2024-05-22 17:35:57 -04:00
committed by GitHub
parent 9b0a2e6eb9
commit 91f16cedd2
2 changed files with 28 additions and 0 deletions

View File

@ -589,6 +589,13 @@ You can also define some of these options using :ref:`Environment Variables <min
Alternatively, set the environment variable :envvar:`MC_CONFIG_DIR`.
.. option:: --disable-pager, --dp
.. versionadded:: mc RELEASE.2024-04-29T09-56-05Z
Disable the pager functionality of the MinIO Client in the CLI.
When used, output prints to raw ``STDOUT`` instead.
.. option:: --json
Enables `JSON lines <http://jsonlines.org/>`_ formatted output to the

View File

@ -173,6 +173,27 @@ Disable the MinIO Client progress bar.
:start-after: start-minio-settings-no-config-option
:end-before: end-minio-settings-no-config-option
Pager
~~~~~
.. versionadded:: mc RELEASE.2024-04-29T09-56-05Z
Disable the pager functionality of the MinIO Client in the CLI.
When used, output prints to raw ``STDOUT`` instead.
.. tab-set::
.. tab-item:: Environment Variable
:selected:
.. envvar:: DISABLE_PAGER
.. tab-item:: Configuration Setting
.. include:: /includes/common-mc-admin-config.rst
:start-after: start-minio-settings-no-config-option
:end-before: end-minio-settings-no-config-option
Color Theme
~~~~~~~~~~~