diff --git a/cmd/zrok/accessPrivate.go b/cmd/zrok/accessPrivate.go index df2f33f4..9c23990e 100644 --- a/cmd/zrok/accessPrivate.go +++ b/cmd/zrok/accessPrivate.go @@ -22,8 +22,6 @@ import ( "time" ) -var accessPrivateCmd *accessPrivateCommand - func init() { accessCmd.AddCommand(newAccessPrivateCommand().cmd) } diff --git a/cmd/zrok/accessPublic.go b/cmd/zrok/accessPublic.go index 9574978b..b70b68f8 100644 --- a/cmd/zrok/accessPublic.go +++ b/cmd/zrok/accessPublic.go @@ -22,10 +22,9 @@ type accessPublicCommand struct { func newAccessPublicCommand() *accessPublicCommand { cmd := &cobra.Command{ - Use: "public []", - Aliases: []string{"fe"}, - Short: "Create a public access HTTP frontend", - Args: cobra.RangeArgs(0, 1), + Use: "public []", + Short: "Create a public access HTTP frontend", + Args: cobra.RangeArgs(0, 1), } command := &accessPublicCommand{cmd: cmd} cmd.Run = command.run diff --git a/cmd/zrok/adminCreateFrontend.go b/cmd/zrok/adminCreateFrontend.go index e3f09c1d..34588f6c 100644 --- a/cmd/zrok/adminCreateFrontend.go +++ b/cmd/zrok/adminCreateFrontend.go @@ -21,10 +21,9 @@ type adminCreateFrontendCommand struct { func newAdminCreateFrontendCommand() *adminCreateFrontendCommand { cmd := &cobra.Command{ - Use: "frontend ", - Aliases: []string{"fe"}, - Short: "Create a global public frontend", - Args: cobra.ExactArgs(3), + Use: "frontend ", + Short: "Create a global public frontend", + Args: cobra.ExactArgs(3), } command := &adminCreateFrontendCommand{cmd: cmd} cmd.Run = command.run diff --git a/cmd/zrok/adminDeleteFrontend.go b/cmd/zrok/adminDeleteFrontend.go index ef3c8fec..071889be 100644 --- a/cmd/zrok/adminDeleteFrontend.go +++ b/cmd/zrok/adminDeleteFrontend.go @@ -18,10 +18,9 @@ type adminDeleteFrontendCommand struct { func newAdminDeleteFrontendCommand() *adminDeleteFrontendCommand { cmd := &cobra.Command{ - Use: "frontend ", - Aliases: []string{"fe"}, - Short: "Delete a global public frontend", - Args: cobra.ExactArgs(1), + Use: "frontend ", + Short: "Delete a global public frontend", + Args: cobra.ExactArgs(1), } command := &adminDeleteFrontendCommand{cmd: cmd} cmd.Run = command.run