Make all commands a plural word

This commit is contained in:
Juan Font Alonso
2021-06-28 20:04:05 +02:00
parent ba87ade9c5
commit f5b8a3f710
3 changed files with 7 additions and 7 deletions

View File

@@ -9,6 +9,11 @@ import (
"github.com/spf13/cobra"
)
var NodeCmd = &cobra.Command{
Use: "nodes",
Short: "Manage the nodes of Headscale",
}
var RegisterCmd = &cobra.Command{
Use: "register machineID",
Short: "Registers a machine to your network",
@@ -81,8 +86,3 @@ var ListNodesCmd = &cobra.Command{
},
}
var NodeCmd = &cobra.Command{
Use: "node",
Short: "Manage the nodes of Headscale",
}