From 6aa3cbb611f74bdf8e44d5527f5138f3122a7497 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Wed, 27 Nov 2019 17:20:36 +0100 Subject: Refactor "code-block:: sh" to "code-block:: console" This will add proper new-lines into the rendered PDF. Before if it has been a long line, not all content was preserved in the PDF. --- docs/cli.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/cli.rst') diff --git a/docs/cli.rst b/docs/cli.rst index 10d8c1ec..2861a73c 100644 --- a/docs/cli.rst +++ b/docs/cli.rst @@ -20,14 +20,14 @@ For example typing ``sh`` followed by the ``TAB`` key will complete to ``show``. Pressing ``TAB`` a second time will display the possible sub-commands of the ``show`` command. -.. code-block:: sh +.. code-block:: console vyos@vyos:~$ s[tab] set show Example showing possible show commands: -.. code-block:: sh +.. code-block:: console vyos@vyos:~$ show [tab] Possible completions: @@ -71,7 +71,7 @@ When viewing in page mode the following commands are available: To enter configuration mode use the ``configure`` command: -.. code-block:: sh +.. code-block:: console vyos@vyos:~$ configure [edit] @@ -80,7 +80,7 @@ To enter configuration mode use the ``configure`` command: .. note:: Prompt changes from ``$`` to ``#``. To exit configuration mode, type ``exit``. -.. code-block:: sh +.. code-block:: console vyos@vyos:~# exit exit -- cgit v1.2.3