Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change all commands to plural words #43

Merged
merged 1 commit into from
Jun 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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