From f1d879074d849310857fd04fbc4d30607af17acd Mon Sep 17 00:00:00 2001 From: Joe LeVeque Date: Sun, 3 May 2020 21:53:09 +0000 Subject: [PATCH] [show] Fix abbreviations for 'show ip bgp ...' commands --- show/bgp_frr_v4.py | 4 ++-- show/bgp_frr_v6.py | 4 ++-- show/bgp_quagga_v4.py | 4 ++-- show/bgp_quagga_v6.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/show/bgp_frr_v4.py b/show/bgp_frr_v4.py index ce946846bf..5f2831c05a 100644 --- a/show/bgp_frr_v4.py +++ b/show/bgp_frr_v4.py @@ -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 ############################################################################### @@ -9,7 +9,7 @@ ############################################################################### -@ip.group() +@ip.group(cls=AliasedGroup) def bgp(): """Show IPv4 BGP (Border Gateway Protocol) information""" pass diff --git a/show/bgp_frr_v6.py b/show/bgp_frr_v6.py index 8c3ad70dde..f199ac60b9 100644 --- a/show/bgp_frr_v6.py +++ b/show/bgp_frr_v6.py @@ -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 ############################################################################### @@ -9,7 +9,7 @@ ############################################################################### -@ipv6.group() +@ipv6.group(cls=AliasedGroup) def bgp(): """Show IPv6 BGP (Border Gateway Protocol) information""" pass diff --git a/show/bgp_quagga_v4.py b/show/bgp_quagga_v4.py index 73075e5aec..bddcf891d9 100644 --- a/show/bgp_quagga_v4.py +++ b/show/bgp_quagga_v4.py @@ -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 ############################################################################### @@ -9,7 +9,7 @@ ############################################################################### -@ip.group() +@ip.group(cls=AliasedGroup) def bgp(): """Show IPv4 BGP (Border Gateway Protocol) information""" pass diff --git a/show/bgp_quagga_v6.py b/show/bgp_quagga_v6.py index f5e8ceef23..78c06988c9 100644 --- a/show/bgp_quagga_v6.py +++ b/show/bgp_quagga_v6.py @@ -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 ############################################################################### @@ -9,7 +9,7 @@ ############################################################################### -@ipv6.group() +@ipv6.group(cls=AliasedGroup) def bgp(): """Show IPv6 BGP (Border Gateway Protocol) information""" pass