cmd/headscale/cli: remove legacy namespace and machine aliases

The --namespace flag on nodes list/register and debug create-node was
never wired to the --user flag, so its value was silently ignored.
Remove it along with the deprecateNamespaceMessage constant.

Also remove the namespace/ns command aliases on users and
machine/machines aliases on nodes, which have been deprecated since
the naming changes in 0.23.0.
This commit is contained in:
Kristoffer Dalby
2026-02-18 15:05:45 +00:00
parent e816397d54
commit d72a06c6c6
5 changed files with 4 additions and 24 deletions
-4
View File
@@ -14,10 +14,6 @@ import (
"github.com/tcnksm/go-latest"
)
const (
deprecateNamespaceMessage = "use --user"
)
var cfgFile string = ""
func init() {