Skip to content

Commit

Permalink
[show] Fix abbreviations for 'show ip bgp ...' commands (#901)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque authored May 4, 2020
1 parent cb68e7d commit c2facd8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions show/bgp_frr_v4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ip, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ip, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ip.group()
@ip.group(cls=AliasedGroup)
def bgp():
"""Show IPv4 BGP (Border Gateway Protocol) information"""
pass
Expand Down
4 changes: 2 additions & 2 deletions show/bgp_frr_v6.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ipv6, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ipv6.group()
@ipv6.group(cls=AliasedGroup)
def bgp():
"""Show IPv6 BGP (Border Gateway Protocol) information"""
pass
Expand Down
4 changes: 2 additions & 2 deletions show/bgp_quagga_v4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ip, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ip, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ip.group()
@ip.group(cls=AliasedGroup)
def bgp():
"""Show IPv4 BGP (Border Gateway Protocol) information"""
pass
Expand Down
4 changes: 2 additions & 2 deletions show/bgp_quagga_v6.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ipv6, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ipv6.group()
@ipv6.group(cls=AliasedGroup)
def bgp():
"""Show IPv6 BGP (Border Gateway Protocol) information"""
pass
Expand Down

0 comments on commit c2facd8

Please sign in to comment.