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