]> git.puffer.fish Git - matthieu/frr.git/commitdiff
Merge pull request #9274 from FRRouting/mergify/bp/stable/8.0/pr-9237
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 4 Aug 2021 00:52:06 +0000 (20:52 -0400)
committerGitHub <noreply@github.com>
Wed, 4 Aug 2021 00:52:06 +0000 (20:52 -0400)
doc: Fix code-block display for example shell commands (backport #9237)

1  2 
doc/user/bgp.rst

index 12ccca7008b2df11502cb0a0c9f4410740c62cc2,f82b4c1209e0259df68d631543517dc641e692b6..be47ce065150557692f809702ef16e1a69cfed53
@@@ -3312,17 -3312,17 +3312,17 @@@ structure is extended with :clicmd:`sho
     It helps to identify which prefixes were installed at some point.
  
     Here is an example of how to check what prefixes were installed starting
 -   with an arbitrary version::
 +   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