fix command name

This commit is contained in:
vyzo 2020-11-13 14:39:34 +02:00
parent 4b187b85eb
commit 2b68ba5f1d

View File

@ -441,7 +441,7 @@ var NetBlockAddIP = &cli.Command{
} }
var NetBlockAddSubnet = &cli.Command{ var NetBlockAddSubnet = &cli.Command{
Name: "ip", Name: "subnet",
Usage: "Block an IP subnet", Usage: "Block an IP subnet",
ArgsUsage: "<CIDR> ...", ArgsUsage: "<CIDR> ...",
Action: func(cctx *cli.Context) error { Action: func(cctx *cli.Context) error {
@ -457,7 +457,7 @@ var NetBlockAddSubnet = &cli.Command{
} }
var NetBlockRemoveCmd = &cli.Command{ var NetBlockRemoveCmd = &cli.Command{
Name: "add", Name: "remove",
Usage: "Remove connection gating rules", Usage: "Remove connection gating rules",
Subcommands: []*cli.Command{ Subcommands: []*cli.Command{
NetBlockRemovePeer, NetBlockRemovePeer,
@ -509,7 +509,7 @@ var NetBlockRemoveIP = &cli.Command{
} }
var NetBlockRemoveSubnet = &cli.Command{ var NetBlockRemoveSubnet = &cli.Command{
Name: "ip", Name: "subnet",
Usage: "Unblock an IP subnet", Usage: "Unblock an IP subnet",
ArgsUsage: "<CIDR> ...", ArgsUsage: "<CIDR> ...",
Action: func(cctx *cli.Context) error { Action: func(cctx *cli.Context) error {