From 683103e1db90524fc65feac717eace5ae1f6e47c Mon Sep 17 00:00:00 2001 From: Satoshi Fujimoto Date: Fri, 9 Mar 2018 16:01:57 +0900 Subject: [PATCH] cmd/global: Refine parameter description in Help message Signed-off-by: Satoshi Fujimoto --- gobgp/cmd/global.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gobgp/cmd/global.go b/gobgp/cmd/global.go index 98fa5146..c84b0910 100644 --- a/gobgp/cmd/global.go +++ b/gobgp/cmd/global.go @@ -1247,7 +1247,11 @@ func modPath(resource string, name, modtype string, args []string) error { etherTypes := strings.Join(ss, ", ") helpErrMap := map[bgp.RouteFamily]error{} baseHelpMsgFmt := fmt.Sprintf(`error: %s -usage: %s rib -a %%s %s %%s [origin { igp | egp | incomplete }] [aspath ] [nexthop
] [med ] [local-pref ] [community ] [aigp metric ] [large-community ] [aggregator ]`, +usage: %s rib -a %%s %s %%s [origin { igp | egp | incomplete }] [aspath ] [nexthop
] [med ] [local-pref ] [community ] [aigp metric ] [large-community ] [aggregator ] + : [,], + : xxx:xxx|internet|planned-shut|accept-own|route-filter-translated-v4|route-filter-v4|route-filter-translated-v6|route-filter-v6|llgr-stale|no-llgr|blackhole|no-export|no-advertise|no-export-subconfed|no-peer, + : xxx:xxx:xxx[,], + : :
`, err, cmdstr, //