mirror of
https://github.com/juanfont/headscale.git
synced 2025-10-27 02:40:19 +00:00
Move flags after the command (#2100)
The built-in help also shows flags to given after the command. Align documentation examples accordingly.
This commit is contained in:
@@ -78,7 +78,7 @@ tailscale up --login-server <YOUR_HEADSCALE_URL>
|
||||
Register the machine:
|
||||
|
||||
```shell
|
||||
headscale --user myfirstuser nodes register --key <YOUR_MACHINE_KEY>
|
||||
headscale nodes register --user myfirstuser --key <YOUR_MACHINE_KEY>
|
||||
```
|
||||
|
||||
### Register machine using a pre authenticated key
|
||||
@@ -86,7 +86,7 @@ headscale --user myfirstuser nodes register --key <YOUR_MACHINE_KEY>
|
||||
Generate a key using the command line:
|
||||
|
||||
```shell
|
||||
headscale --user myfirstuser preauthkeys create --reusable --expiration 24h
|
||||
headscale preauthkeys create --user myfirstuser --reusable --expiration 24h
|
||||
```
|
||||
|
||||
This will return a pre-authenticated key that is used to
|
||||
|
||||
Reference in New Issue
Block a user