From c11277d7c8b1ce6594662dbd225d4170a882a7bb Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 18 Dec 2015 17:15:00 +0900 Subject: cli: remove redundant line before: $ gobgp global policy Import policy: Import policy: Default: ACCEPT Export policy: Export policy: Default: ACCEPT after: $ gobgp global policy Import policy: Default: ACCEPT Export policy: Default: ACCEPT Signed-off-by: ISHIDA Wataru --- gobgp/cmd/global.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gobgp/cmd/global.go b/gobgp/cmd/global.go index 80728c03..e0f9b594 100644 --- a/gobgp/cmd/global.go +++ b/gobgp/cmd/global.go @@ -754,7 +754,6 @@ func NewGlobalCmd() *cobra.Command { Use: CMD_POLICY, Run: func(cmd *cobra.Command, args []string) { for _, v := range []string{CMD_IMPORT, CMD_EXPORT} { - fmt.Printf("%s policy:\n", strings.Title(v)) if err := showNeighborPolicy(nil, v, 4); err != nil { fmt.Println(err) os.Exit(1) -- cgit v1.2.3