Skip to content

Commit

Permalink
[201911][show] Fix abbreviations for 'show ip bgp ...' commands (#909)
Browse files Browse the repository at this point in the history
  • Loading branch information
jleveque authored May 12, 2020
1 parent 42e4fdc commit 9c58df6
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 *
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended


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


@ipv6.group(cls=AliasedGroup, default_if_no_args=False)
@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 *
from show.main import AliasedGroup, ip, run_command, get_bgp_summary_extended


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


@ip.group(cls=AliasedGroup, default_if_no_args=False)
@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 *
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended


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


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

0 comments on commit 9c58df6

Please sign in to comment.