summaryrefslogtreecommitdiff
path: root/docs/cli.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-27 17:31:39 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-27 17:31:39 +0100
commit9ed5ac0cd6e8f0745c866db8ffd229323091fd15 (patch)
tree9274cc007e6fc9b7e11f0691ff306a547a00f9a9 /docs/cli.rst
parent852f7f7a232a79fc802923730673024d1a5171be (diff)
downloadvyos-documentation-9ed5ac0cd6e8f0745c866db8ffd229323091fd15.tar.gz
vyos-documentation-9ed5ac0cd6e8f0745c866db8ffd229323091fd15.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 c1306c82..ef8ef84e 100644
--- a/docs/cli.rst
+++ b/docs/cli.rst
@@ -17,7 +17,7 @@ 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
@@ -25,7 +25,7 @@ Pressing **[tab]** a second time will display the possible sub-commands of the
Example showing possible show commands:
-.. code-block:: sh
+.. code-block:: console
vyos@vyos:~$ show [tab]
Possible completions:
@@ -69,7 +69,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]
@@ -77,7 +77,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