summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-05-09 22:59:24 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-05-09 22:59:24 +0900
commiteab6a03899da60794aab5fd2b0387ccfcc360687 (patch)
treecb2f1e6e074072ac31908939112fe13956ca2f5a
parentbff14d64f144c26b87010ecb574d355fdccd70de (diff)
cli: update help messages about the old cli name
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--gobgp/main.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/gobgp/main.go b/gobgp/main.go
index 4a7def9f..e8735104 100644
--- a/gobgp/main.go
+++ b/gobgp/main.go
@@ -322,7 +322,7 @@ func (x *GlobalRibCommand) Execute(args []string) error {
eArgs := extractArgs(CMD_RIB)
parser := flags.NewParser(&subOpts, flags.Default)
- parser.Usage = "global rib [OPTIONS]\n gobgpcli global rib"
+ parser.Usage = "global rib [OPTIONS]\n gobgp global rib"
parser.AddCommand(CMD_ADD, "subcommand for add route to global rib", "", NewGlobalRibAddCommand(x.resource))
parser.AddCommand(CMD_DEL, "subcommand for delete route from global rib", "", NewGlobalRibDelCommand(x.resource))
parser.ParseArgs(eArgs)
@@ -475,7 +475,7 @@ func (x *GlobalRibAddCommand) Execute(args []string) error {
parser := flags.NewParser(&subOpts, flags.Default)
parser.Usage = "global rib add <prefix> -a { ipv4 | ipv6 }\n" +
" -> if -a option is ipv4 or ipv6\n" +
- " gobgpcli global rib add <mac address> <ip address> -a evpn\n" +
+ " gobgp global rib add <mac address> <ip address> -a evpn\n" +
" -> if -a option is evpn"
parser.ParseArgs(eArgs)
if len(eArgs) == 1 {
@@ -504,7 +504,7 @@ func (x *GlobalRibDelCommand) Execute(args []string) error {
parser := flags.NewParser(&subOpts, flags.Default)
parser.Usage = "global rib del <prefix> -a { ipv4 | ipv6 }\n" +
" -> if -a option is ipv4 or ipv6\n" +
- " gobgpcli global rib del <mac address> <ip address> -a evpn\n" +
+ " gobgp global rib del <mac address> <ip address> -a evpn\n" +
" -> if -a option is evpn"
parser.ParseArgs(eArgs)
if len(eArgs) == 1 {
@@ -709,7 +709,7 @@ func (x *NeighborCommand) Execute(args []string) error {
}
} else {
parser := flags.NewParser(nil, flags.Default)
- parser.Usage = "neighbor [ <neighbor address> ]\n gobgpcli neighbor"
+ parser.Usage = "neighbor [ <neighbor address> ]\n gobgp neighbor"
parser.AddCommand(CMD_LOCAL, "subcommand for local-rib of neighbor", "", NewNeighborRibCommand(eArgs[0], api.Resource_LOCAL, CMD_LOCAL))
parser.AddCommand(CMD_ADJ_IN, "subcommand for adj-rib-in of neighbor", "", NewNeighborRibCommand(eArgs[0], api.Resource_ADJ_IN, CMD_ADJ_IN))
parser.AddCommand(CMD_ADJ_OUT, "subcommand for adj-rib-out of neighbor", "", NewNeighborRibCommand(eArgs[0], api.Resource_ADJ_OUT, CMD_ADJ_OUT))