This commit is contained in:
Kristoffer Dalby 2025-07-15 16:17:31 +00:00
parent 8253d588c6
commit 04d2e553bf
2 changed files with 3 additions and 3 deletions

View File

@ -129,7 +129,7 @@ var createUserCmd = &cobra.Command{
}
var destroyUserCmd = &cobra.Command{
Use: "destroy --identifier ID or --name NAME",
Use: "destroy --user USER or --name NAME",
Short: "Destroys a user",
Aliases: []string{"delete"},
Run: func(cmd *cobra.Command, args []string) {

View File

@ -49,7 +49,7 @@ ID | Hostname | Approved | Available | Serving (Primary)
Approve all desired routes of a subnet router by specifying them as comma separated list:
```console
$ headscale nodes approve-routes --identifier 1 --routes 10.0.0.0/8,192.168.0.0/24
$ headscale nodes approve-routes --node 1 --routes 10.0.0.0/8,192.168.0.0/24
Node updated
```
@ -175,7 +175,7 @@ ID | Hostname | Approved | Available | Serving (Primary)
For exit nodes, it is sufficient to approve either the IPv4 or IPv6 route. The other will be approved automatically.
```console
$ headscale nodes approve-routes --identifier 1 --routes 0.0.0.0/0
$ headscale nodes approve-routes --node 1 --routes 0.0.0.0/0
Node updated
```