From af1ec5a59386e5b667b301ef9e94e6bebede42fd Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Tue, 17 Jan 2023 17:46:31 +0100 Subject: [PATCH] Rename .go namespace files Signed-off-by: Kristoffer Dalby --- cmd/headscale/cli/{namespaces.go => users.go} | 2 +- namespaces.go => users.go | 0 namespaces_test.go => users_test.go | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename cmd/headscale/cli/{namespaces.go => users.go} (98%) rename namespaces.go => users.go (100%) rename namespaces_test.go => users_test.go (100%) diff --git a/cmd/headscale/cli/namespaces.go b/cmd/headscale/cli/users.go similarity index 98% rename from cmd/headscale/cli/namespaces.go rename to cmd/headscale/cli/users.go index 59f5976..c3ec90b 100644 --- a/cmd/headscale/cli/namespaces.go +++ b/cmd/headscale/cli/users.go @@ -27,7 +27,7 @@ const ( var userCmd = &cobra.Command{ Use: "users", Short: "Manage the users of Headscale", - Aliases: []string{"user", "ns", "user", "users"}, + Aliases: []string{"user", "namespace", "ns"}, } var createUserCmd = &cobra.Command{ diff --git a/namespaces.go b/users.go similarity index 100% rename from namespaces.go rename to users.go diff --git a/namespaces_test.go b/users_test.go similarity index 100% rename from namespaces_test.go rename to users_test.go