doc: Updated the default for VTYSH_PAGER if unset in user docs

Signed-off-by: Valentin Binotto <git.8c400bab53f220f13efe0112c1ea2f96@v434project.com>
This commit is contained in:
Valentin Binotto 2025-04-22 16:01:41 +00:00
parent 5d4c7d2ece
commit f690276086
2 changed files with 2 additions and 3 deletions

View file

@ -79,7 +79,7 @@ OPTIONS available for the vtysh command:
ENVIRONMENT VARIABLES
=====================
VTYSH_PAGER
This should be the name of the pager to use. Default is more.
This should be the name of the pager to use. Default is *more*.
VTYSH_HISTFILE
Override the history file for vtysh commands. Logging can be turned off using ``VTYSH_HISTFILE=/dev/null vtysh``.

View file

@ -70,8 +70,7 @@ and the :clicmd:`terminal paginate` command:
(particularly waiting at the end of output) tends to be annoying to the
user. Using ``less -EFX`` is recommended for a better user experience.
If this environment variable is unset, *vtysh* defaults to not using any
pager.
If this environment variable is unset, *vtysh* defaults to using *more*.
This variable should be set by the user according to their preferences,
in their :file:`~/.profile` file.