]> git.puffer.fish Git - matthieu/frr.git/commitdiff
doc: Fix code-block display for example shell commands
authorDonald Sharp <sharpd@nvidia.com>
Fri, 30 Jul 2021 01:42:06 +0000 (21:42 -0400)
committermergify-bot <noreply@mergify.io>
Tue, 3 Aug 2021 20:50:15 +0000 (20:50 +0000)
the code-block was jumbled and not displaying properly.

Reported by: Drew Bloechl
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit 01af2696ebee84cb90427aa56066ea88b05083ed)

doc/user/bgp.rst

index f6aa5d1ca089b2ccd57af61adda8282010f18d4a..f82b4c1209e0259df68d631543517dc641e692b6 100644 (file)
@@ -3314,15 +3314,15 @@ structure is extended with :clicmd:`show bgp [afi] [safi]`.
    Here is an example of how to check what prefixes were installed starting
    with an arbitrary version::
 
-   .. code-block:: frr
+.. code-block:: shell
 
-      ~# vtysh -c 'show bgp ipv4 unicast json' | jq '.tableVersion'
-      9
-      ~# vtysh -c 'show ip bgp version 9 json' | jq -r '.routes | keys[]'
-      192.168.3.0/24
-      ~# vtysh -c 'show ip bgp version 8 json' | jq -r '.routes | keys[]'
-      192.168.2.0/24
-      192.168.3.0/24
+   # vtysh -c 'show bgp ipv4 unicast json' | jq '.tableVersion'
+   9
+   # vtysh -c 'show ip bgp version 9 json' | jq -r '.routes | keys[]'
+   192.168.3.0/24
+   # vtysh -c 'show ip bgp version 8 json' | jq -r '.routes | keys[]'
+   192.168.2.0/24
+   192.168.3.0/24
 
 .. clicmd:: show bgp [afi] [safi] statistics