summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:36 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:20:38 +0100
commit6aa3cbb611f74bdf8e44d5527f5138f3122a7497 (patch)
tree009a1fe9447bdd980d5017d49f102e7ccdace03b /docs/cli.rst
parent76bbe2744d7184ee50626d9d7b65f21dad1c7e99 (diff)
downloadvyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.tar.gz
vyos-documentation-6aa3cbb611f74bdf8e44d5527f5138f3122a7497.zip
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.
Diffstat (limited to 'docs/cli.rst')
-rw-r--r--docs/cli.rst8
1 files changed, 4 insertions, 4 deletions
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