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, //