mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
cmd/global: Refine parameter description in Help message
Signed-off-by: Satoshi Fujimoto <[email protected]>
This commit is contained in:
committed by
FUJITA Tomonori
parent
4c40c302db
commit
683103e1db
+5
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user