Skip to content

Commit

Permalink
Make all commands a plural word
Browse files Browse the repository at this point in the history
  • Loading branch information
juanfont committed Jun 28, 2021
1 parent ba87ade commit f5b8a3f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cmd/headscale/cli/namespaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

var NamespaceCmd = &cobra.Command{
Use: "namespace",
Use: "namespaces",
Short: "Manage the namespaces of Headscale",
}

Expand Down
10 changes: 5 additions & 5 deletions cmd/headscale/cli/nodes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -81,8 +86,3 @@ var ListNodesCmd = &cobra.Command{

},
}

var NodeCmd = &cobra.Command{
Use: "node",
Short: "Manage the nodes of Headscale",
}
2 changes: 1 addition & 1 deletion cmd/headscale/cli/preauthkeys.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

var PreauthkeysCmd = &cobra.Command{
Use: "preauthkey",
Use: "preauthkeys",
Short: "Handle the preauthkeys in Headscale",
}

Expand Down

0 comments on commit f5b8a3f

Please sign in to comment.