diff options
-rw-r--r-- | gobgp/cmd/global.go | 6 |
1 files changed, 5 insertions, 1 deletions
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 <PREFIX> %%s [origin { igp | egp | incomplete }] [aspath <VALUE>] [nexthop <ADDRESS>] [med <VALUE>] [local-pref <VALUE>] [community <VALUE>] [aigp metric <METRIC>] [large-community <VALUE>] [aggregator <AS:ADDRESS>]`, +usage: %s rib -a %%s %s <PREFIX> %%s [origin { igp | egp | incomplete }] [aspath <ASPATH>] [nexthop <ADDRESS>] [med <NUM>] [local-pref <NUM>] [community <COMMUNITY>] [aigp metric <NUM>] [large-community <LARGE_COMMUNITY>] [aggregator <AGGREGATOR>] + <ASPATH>: <AS>[,<AS>], + <COMMUNITY>: 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, + <LARGE_COMMUNITY>: xxx:xxx:xxx[,<LARGE_COMMUNITY>], + <AGGREGATOR>: <AS>:<ADDRESS>`, err, cmdstr, // <address family> |