diff options
author | Satoshi Fujimoto <satoshi.fujimoto7@gmail.com> | 2018-03-09 16:01:57 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-03-20 23:11:00 +0900 |
commit | 683103e1db90524fc65feac717eace5ae1f6e47c (patch) | |
tree | 4d4dc1b17201c0ea03f9ab667f70d027e04ebee1 | |
parent | 4c40c302dbcb0677fd932f4fdcaa6d19cc76a03b (diff) |
cmd/global: Refine parameter description in Help message
Signed-off-by: Satoshi Fujimoto <satoshi.fujimoto7@gmail.com>
-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> |